Skip to content

Commit

Permalink
tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
CADawg committed Mar 16, 2024
1 parent 36adba7 commit a80be4f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion ui/src/helpers/loginWithOauth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ export default function loginWithOauth(e: Event, providerName: string, oAuthData
store.set("provider", provider);
const redirectUrl = location.origin + URLS.OAUTH2_REDIRECT;

console.log(provider.authUrl + redirectUrl);
window.location.href = provider.authUrl + redirectUrl;
break;
}
Expand Down
2 changes: 0 additions & 2 deletions ui/src/routes/Dashboards/User.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ export default function User() {
return;
}

console.log(model?.id)

pocketbase.collection('users').delete(model?.id as string).then(() => {
pocketbase.authStore?.clear();
navigate(URLS.HOME);
Expand Down

0 comments on commit a80be4f

Please sign in to comment.