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