Code fixed

This commit is contained in:
Yaojia Wang
2026-02-13 10:31:54 +01:00
parent 26d0c41203
commit f319c6e772
34 changed files with 18234 additions and 16670 deletions

4656
frontend/package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +1,5 @@
import { Navigate } from 'react-router-dom'
import { useAuthStore } from '../stores/authStore'
import { useAuthStore } from '../../stores/authStore'
interface ProtectedRouteProps {
children: React.ReactNode

View File

@@ -1,6 +1,6 @@
import { Link } from 'react-router-dom'
import { useAuthStore } from '../../stores/authStore'
import { FileText, User, LogOut } from 'lucide-react'
import { FileText, LogOut } from 'lucide-react'
export default function Header() {
const { user, logout } = useAuthStore()

1
frontend/src/vite-env.d.ts vendored Normal file
View File

@@ -0,0 +1 @@
/// <reference types="vite/client" />