mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-15 01:35:17 +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;
|
|
}
|