Skip to content

Commit 4e94624

Browse files
committed
Disable eslint
1 parent 03372f0 commit 4e94624

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

frontend/src/contexts/AuthContext.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/* eslint-disable react-refresh/only-export-components */
2+
13
import { createContext, useContext, useState } from "react";
24

35
type User = {

frontend/src/pages/Profile/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ const ProfilePage: React.FC = () => {
3737
setUserProfile(res.data.data);
3838
})
3939
.catch(() => setUserProfile(null));
40+
// eslint-disable-next-line react-hooks/exhaustive-deps
4041
}, []);
4142

4243
if (!userProfile) {

0 commit comments

Comments
 (0)