Skip to content

Commit aba5751

Browse files
Linda Penglpatmo
authored andcommitted
Fix warnings occuring with npm run build
1 parent 375d8ea commit aba5751

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/Nav/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ export default function Nav() {
130130
onKeyDown={handleListKeyDown}
131131
>
132132
<MenuItem onClick={handleMenuClose}>
133-
<a onClick={logout}>Logout</a>
133+
<span onClick={logout}>Logout</span>
134134
</MenuItem>
135135
</MenuList>
136136
</ClickAwayListener>

src/components/Resources/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function Resources({ getResourcesUrl }) {
2020
// handle error
2121
console.log(error);
2222
});
23-
}, []);
23+
}, [getResourcesUrl]);
2424

2525
return (
2626
<>

0 commit comments

Comments
 (0)