feat: 初始化 React 应用,并配置路由和上下文提供者。
This commit is contained in:
@@ -2,7 +2,7 @@ import { RouterProvider } from 'react-router-dom';
|
|||||||
import { router } from './router';
|
import { router } from './router';
|
||||||
|
|
||||||
|
|
||||||
import { ThemeProvider, PrivacyProvider, NotificationProvider, GuideProvider, useAutoTokenRefresh } from './hooks';
|
import { ThemeProvider, PrivacyProvider, NotificationProvider, GuideProvider } from './hooks';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* App Content Component
|
* App Content Component
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
import { StrictMode } from 'react';
|
|
||||||
import { createRoot } from 'react-dom/client';
|
import { createRoot } from 'react-dom/client';
|
||||||
import './index.css';
|
import './index.css';
|
||||||
import App from './App.tsx';
|
import App from './App.tsx';
|
||||||
|
|||||||
Reference in New Issue
Block a user