Skip to content

Commit

Permalink
[Task] #189, fix linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
Type-Style committed Dec 29, 2024
1 parent 0aaf935 commit 1f47da0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/components/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const App = () => {

useEffect(() => {
if (!isLoggedIn) return;
const fetchToken = async (path:string, setState:Function) => {
const fetchToken = async (path:string, setState: React.Dispatch<React.SetStateAction<string | null>>) => {
try {
const token = localStorage.getItem("jwt");
const response = await axios.get(path, {
Expand Down

0 comments on commit 1f47da0

Please sign in to comment.