mirror of
https://github.com/JefferyHcool/BiliNote.git
synced 2026-07-09 22:41:52 +08:00
first commit
This commit is contained in:
16
BillNote_frontend/src/App.tsx
Normal file
16
BillNote_frontend/src/App.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
|
||||
import './App.css'
|
||||
import {HomePage} from "./pages/Home.tsx";
|
||||
import {useTaskPolling} from "@/hooks/useTaskPolling.ts";
|
||||
|
||||
function App() {
|
||||
useTaskPolling(3000) // 每 3 秒轮询一次
|
||||
|
||||
return (
|
||||
<>
|
||||
<HomePage></HomePage>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
export default App
|
||||
Reference in New Issue
Block a user