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