mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-29 23:38:10 +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;
|
|
}
|