refactor: remove static routes and stop multiple token api call in sse
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import Link from 'next/link';
|
||||
|
||||
import { Button } from '@/components/ui/button';
|
||||
import { ROUTES } from '@/utils/routes';
|
||||
|
||||
export default function NotFound() {
|
||||
return (
|
||||
@@ -13,7 +12,7 @@ export default function NotFound() {
|
||||
The page you are looking for does not exist or may have been moved.
|
||||
</p>
|
||||
<Button asChild className="mt-6">
|
||||
<Link href={ROUTES.DASHBOARD}>Go to dashboard</Link>
|
||||
<Link href="/">Go to workspace</Link>
|
||||
</Button>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
Reference in New Issue
Block a user