diff --git a/dist/index.html b/dist/index.html
index 5a8170f..e4d08a9 100644
--- a/dist/index.html
+++ b/dist/index.html
@@ -5,7 +5,7 @@
숙제노기
-
+
diff --git a/src/pages/CharacterList.tsx b/src/pages/CharacterList.tsx
index 7325bb8..a637192 100644
--- a/src/pages/CharacterList.tsx
+++ b/src/pages/CharacterList.tsx
@@ -1,4 +1,5 @@
-import { Box, Card, CardContent, Typography, Container, Grid } from '@mui/material'
+import { Box, Card, CardContent, Typography, Container } from '@mui/material'
+import { Grid } from '@mui/material'
import { useEffect, useState } from 'react'
import { useNavigate } from 'react-router-dom'
import api from '../lib/api'
@@ -40,47 +41,49 @@ function SortableCharacterCard({ character }: { character: Character }) {
}
return (
-
- navigate(`/characters/${character.id}/edit`)}
- >
- {/* 드래그 핸들 */}
-
+
+ e.stopPropagation()}
+ onClick={() => navigate(`/characters/${character.id}/edit`)}
>
-
-
+ {/* 드래그 핸들 */}
+ e.stopPropagation()}
+ >
+
+
-
- {character.name}
- 서버: {character.server || '-'}
- 직업: {character.job || '-'}
-
- 전투력: {character.combat_power?.toLocaleString() || '-'}
-
-
-
+
+ {character.name}
+ 서버: {character.server || '-'}
+ 직업: {character.job || '-'}
+
+ 전투력: {character.combat_power?.toLocaleString() || '-'}
+
+
+
+
)
}
@@ -122,7 +125,7 @@ export default function CharacterList() {
{characters.map((char) => (
))}
-
+
(window.location.href = '/characters/register')}
sx={{
diff --git a/src/pages/HomeworkList.tsx b/src/pages/HomeworkList.tsx
index 8d0772d..bc52cce 100644
--- a/src/pages/HomeworkList.tsx
+++ b/src/pages/HomeworkList.tsx
@@ -43,7 +43,7 @@ function SortableHomeworkCard({ homework }: { homework: HomeworkType }) {
}
return (
-
+
(
))}
-
+
(window.location.href = '/homeworks/register')}
sx={{