umami/pages/index.js
2023-07-10 00:33:30 -07:00

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