Code fixed
This commit is contained in:
4656
frontend/package-lock.json
generated
Normal file
4656
frontend/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -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
|
||||
|
||||
@@ -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
1
frontend/src/vite-env.d.ts
vendored
Normal file
@@ -0,0 +1 @@
|
||||
/// <reference types="vite/client" />
|
||||
Reference in New Issue
Block a user