mirror of
https://github.com/kremalicious/umami.git
synced 2024-10-31 23:35:32 +01:00
13 lines
227 B
JavaScript
13 lines
227 B
JavaScript
import { useEffect } from 'react';
|
|
import { useRouter } from 'next/router';
|
|
|
|
export default function DefaultPage() {
|
|
const router = useRouter();
|
|
|
|
useEffect(() => {
|
|
router.push('/dashboard');
|
|
}, []);
|
|
|
|
return null;
|
|
}
|