src/components/Game/HostScreen/HostScreen.js
Line 8:3: 'getLeaderboard' is defined but never used no-unused-vars
Line 72:6: React Hook useEffect has a missing dependency: 'updateLeaderboard'. Either include it or remove the dependency array react-hooks/exhaustive-deps
src/components/Game/PlayerScreen/PlayerScreen.js
Line 145:6: React Hook useEffect has a missing dependency: 'sendAnswer'. Either include it or remove the dependency array react-hooks/exhaustive-deps
src/components/MyQuizes/MyQuizes.js
Line 28:6: React Hook useEffect has a missing dependency: 'user.result._id'. Either include it or remove the dependency array react-hooks/exhaustive-deps
src/components/Navbar/Navbar.js
Line 35:6: React Hook useEffect has missing dependencies: 'logout' and 'user?.accessToken'. Either include them or remove the dependency array react-hooks/exhaustive-deps
src/components/QuizCreator/QuizCreator.js
Line 55:6: React Hook useEffect has a missing dependency: 'dispatch'. Either include it or remove the dependency array react-hooks/exhaustive-deps
src/components/QuizDetails/QuizDetails.js
Line 26:6: React Hook useEffect has a missing dependency: 'dispatch'. Either include it or remove the dependency array react-hooks/exhaustive-deps
Line 34:6: React Hook useEffect has a missing dependency: 'dispatch'. Either include it or remove the dependency array react-hooks/exhaustive-deps
Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.
When run npm start inside of client:
Compiled with warnings.
src/components/Game/HostScreen/HostScreen.js Line 8:3: 'getLeaderboard' is defined but never used no-unused-vars Line 72:6: React Hook useEffect has a missing dependency: 'updateLeaderboard'. Either include it or remove the dependency array react-hooks/exhaustive-deps
src/components/Game/PlayerScreen/PlayerScreen.js Line 145:6: React Hook useEffect has a missing dependency: 'sendAnswer'. Either include it or remove the dependency array react-hooks/exhaustive-deps
src/components/MyQuizes/MyQuizes.js Line 28:6: React Hook useEffect has a missing dependency: 'user.result._id'. Either include it or remove the dependency array react-hooks/exhaustive-deps
src/components/Navbar/Navbar.js Line 35:6: React Hook useEffect has missing dependencies: 'logout' and 'user?.accessToken'. Either include them or remove the dependency array react-hooks/exhaustive-deps
src/components/QuizCreator/QuizCreator.js Line 55:6: React Hook useEffect has a missing dependency: 'dispatch'. Either include it or remove the dependency array react-hooks/exhaustive-deps
src/components/QuizDetails/QuizDetails.js Line 26:6: React Hook useEffect has a missing dependency: 'dispatch'. Either include it or remove the dependency array react-hooks/exhaustive-deps Line 34:6: React Hook useEffect has a missing dependency: 'dispatch'. Either include it or remove the dependency array react-hooks/exhaustive-deps
Search for the keywords to learn more about each warning. To ignore, add // eslint-disable-next-line to the line before.