Dir tree doc and move some code (#1466)

* tree doc and move some code

* fix: ts
This commit is contained in:
Archer
2024-05-13 17:07:29 +08:00
committed by GitHub
parent 80a84a5733
commit 610ebded3b
32 changed files with 178 additions and 196 deletions

View File

@@ -3,6 +3,7 @@ import { useRouter } from 'next/router';
import { serviceSideProps } from '@/web/common/utils/i18n';
import { useSystemStore } from '@/web/common/system/useSystemStore';
import { Box } from '@chakra-ui/react';
import { TrackEventName } from '@/web/common/system/constants';
function Error() {
const router = useRouter();
@@ -10,7 +11,7 @@ function Error() {
useEffect(() => {
setTimeout(() => {
window.umami?.track('pageError', {
window.umami?.track(TrackEventName.pageError, {
userAgent: navigator.userAgent,
platform: navigator.platform,
appName: navigator.appName,