Compare commits

..

No commits in common. "ai-dev" and "master" have entirely different histories.

4 changed files with 5 additions and 10 deletions

5
.gitignore vendored
View File

@ -1,8 +1,3 @@
node_modules/
*/node_modules/
*/build/
**/node_modules/
**/build/
.DS_Store
.env

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
{}

View File

@ -73,7 +73,7 @@ export default function Login() {
// Redirect to dashboard if user is logged in
useEffect(() => {
if (currentUser?.id) {
router.push('/messages/messages-list');
router.push('/dashboard');
}
}, [currentUser?.id, router]);
// Show error message if there is one