mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-27 04:45:54 +01:00
13 lines
216 B
JavaScript
13 lines
216 B
JavaScript
import { useEffect } from 'react';
|
|
import { useRouter } from 'next/router';
|
|
|
|
export default function () {
|
|
const router = useRouter();
|
|
|
|
useEffect(() => {
|
|
router.push('/dashboard');
|
|
}, []);
|
|
|
|
return null;
|
|
}
|