mirror of
https://github.com/multipleof4/KalBot.git
synced 2026-03-17 05:51:02 +00:00
Feat: Redirect login to /paper instead of /dashboard
This commit is contained in:
@@ -2,8 +2,6 @@
|
||||
import { useState, useRef } from 'react';
|
||||
import { useRouter } from 'next/navigation';
|
||||
|
||||
// TODO: We should use this Kalshi green accent (#28CC95) all over the code.
|
||||
|
||||
export default function LoginPage() {
|
||||
const router = useRouter();
|
||||
const [email, setEmail] = useState('');
|
||||
@@ -37,8 +35,7 @@ export default function LoginPage() {
|
||||
setCaptcha('');
|
||||
} else {
|
||||
setSuccess(data.message);
|
||||
// Whisk Master away to the dashboard!
|
||||
router.push('/dashboard');
|
||||
router.push('/paper');
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user