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