chore: move api key input to options view

This commit is contained in:
Sebastian Velez
2023-01-18 13:27:11 -05:00
parent 7b4c5e51e3
commit 800198e2ee
5 changed files with 77 additions and 84 deletions

View File

@@ -15,7 +15,7 @@ export default function WakaTime(): JSX.Element {
}: ApiKeyReducer = useSelector((selector: ReduxSelector) => selector.config);
useEffect(() => {
fetchUserData(apiKeyFromRedux, dispatch);
void fetchUserData(apiKeyFromRedux, dispatch);
}, []);
return (