Skip to content

Commit

Permalink
switch to editor on login
Browse files Browse the repository at this point in the history
  • Loading branch information
maheshj01 committed Jul 31, 2024
1 parent b413630 commit 2a2671a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/(main)/_components/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ const Sidebar: React.FC = () => {
const handleLogin = async () => {
try {
await authService.signInWithGoogle();
router.push('/logs');
} catch (error) {
console.error("Error signing in:", error);
}
Expand Down

0 comments on commit 2a2671a

Please sign in to comment.