Skip to content

Commit d7ef4a1

Browse files
committed
fix: no-use-before-define off
1 parent c03da55 commit d7ef4a1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.eslintrc.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ module.exports = {
3333
"react/react-in-jsx-scope": "off",
3434
"no-multi-spaces": "error", // 스페이스 여러개 금지
3535
"simple-import-sort/imports": "error",
36-
"no-use-before-define": ["error", { functions: false, classes: false }],
36+
"no-use-before-define": ["error", false],
3737
},
3838
};

src/pages/ErrorPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export default function ErrorPage(prop: ErrorProps) {
3131
변경 혹은 삭제되어 페이지를 찾을 수 없어요
3232
</ErrorSub>
3333
<ButtonWrapper>
34-
<RoundBottomButton buttonMessage="홈으로 가기" handleClick={handleMoveToHome} />
34+
<RoundBottomButton buttonMessage="홈으로 가기" handleClick={() => handleMoveToHome} />
3535
</ButtonWrapper>
3636
</ErrorWrapper>
3737
);

0 commit comments

Comments
 (0)