mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-17 21:58:03 +00:00
feat: 支持GitHub Actions和一堆其他更新
This commit is contained in:
parent
f5ab5ea754
commit
e748155032
28 changed files with 185 additions and 36 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import { StrictMode } from 'react'
|
||||
import { render } from 'react-dom'
|
||||
import * as ReactDOMClient from 'react-dom/client'
|
||||
import { BrowserRouter } from 'react-router-dom'
|
||||
import * as Sentry from '@sentry/react'
|
||||
import { BrowserTracing } from '@sentry/tracing'
|
||||
|
|
@ -20,11 +20,13 @@ Sentry.init({
|
|||
tracesSampleRate: 1.0,
|
||||
})
|
||||
|
||||
render(
|
||||
const container = document.getElementById('root') as HTMLElement
|
||||
const root = ReactDOMClient.createRoot(container)
|
||||
|
||||
root.render(
|
||||
<StrictMode>
|
||||
<BrowserRouter>
|
||||
<App />
|
||||
</BrowserRouter>
|
||||
</StrictMode>,
|
||||
document.getElementById('root')
|
||||
</StrictMode>
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue