Skip to content

Commit d836968

Browse files
committed
fix: 빌드 오류 수정
1 parent 74dc0f0 commit d836968

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

src/components/scores/gpa/GpaScoreTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ interface Props {
99

1010
export function GpaScoreTable({ verifyFilter }: Props) {
1111
const [scores, setScores] = useState<GpaScore[]>([]);
12-
const [page, setPage] = useState(1);
12+
const [page] = useState(1);
1313
const [loading, setLoading] = useState(false);
1414

1515
const fetchScores = async () => {

src/components/scores/language/LanguageScoreTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ interface Props {
99

1010
export function LanguageScoreTable({ verifyFilter }: Props) {
1111
const [scores, setScores] = useState<LanguageTestScore[]>([]);
12-
const [page, setPage] = useState(1);
12+
const [page] = useState(1);
1313
const [loading, setLoading] = useState(false);
1414

1515
const fetchScores = async () => {

src/routes/login/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,8 @@ function LoginPage() {
3737

3838
navigate("/scores");
3939
} catch (err: any) {
40-
toast("로그인 실패", {
40+
toast.error("로그인 실패", {
4141
description: err.response?.data?.message || "로그인에 실패했습니다.",
42-
variant: "destructive",
4342
});
4443
} finally {
4544
setIsLoading(false);

0 commit comments

Comments
 (0)