1
0
mirror of https://github.com/kremalicious/umami.git synced 2024-12-23 01:30:05 +01:00
umami/pages/index.js
2020-08-05 23:03:07 -07:00

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;
}