mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-07-19 12:03:37 +00:00
fix
This commit is contained in:
@@ -22,6 +22,11 @@ if (theme && !theme.startsWith('"')) {
|
||||
localStorage.setItem(key.theme, JSON.stringify(theme))
|
||||
}
|
||||
|
||||
const themeStyle = document.createElement('link')
|
||||
themeStyle.rel = 'stylesheet'
|
||||
themeStyle.href = '/files/theme.css'
|
||||
document.head.appendChild(themeStyle)
|
||||
|
||||
ReactDOM.createRoot(document.getElementById('root')!).render(
|
||||
// <React.StrictMode>
|
||||
<BrowserRouter basename="/webui/">
|
||||
|
Reference in New Issue
Block a user