We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b429021 commit 01db9b1Copy full SHA for 01db9b1
src/renderer/routes/Login.tsx
@@ -21,9 +21,9 @@ export const LoginRoute: FC = () => {
21
}
22
}, [isLoggedIn]);
23
24
- const loginUser = useCallback(() => {
+ const loginUser = useCallback(async () => {
25
try {
26
- loginWithGitHubApp();
+ await loginWithGitHubApp();
27
} catch (err) {
28
logError('loginWithGitHubApp', 'failed to login with GitHub', err);
29
0 commit comments