mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-17 21:58:03 +00:00
feat: updates
This commit is contained in:
parent
f340a90117
commit
cec4c5909d
50 changed files with 1304 additions and 207 deletions
|
|
@ -6,6 +6,7 @@ import Devtool from '@/web/components/New/Devtool'
|
|||
import ErrorBoundary from '@/web/components/New/ErrorBoundary'
|
||||
import useIsMobile from '@/web/hooks/useIsMobile'
|
||||
import LayoutMobile from '@/web/components/New/LayoutMobile'
|
||||
import ScrollRestoration from '@/web/components/New/ScrollRestoration'
|
||||
|
||||
const App = () => {
|
||||
const isMobile = useIsMobile()
|
||||
|
|
@ -16,6 +17,7 @@ const App = () => {
|
|||
{window.env?.isEnableTitlebar && <TitleBar />}
|
||||
{isMobile ? <LayoutMobile /> : <Layout />}
|
||||
<Toaster position='bottom-center' containerStyle={{ bottom: '5rem' }} />
|
||||
<ScrollRestoration />
|
||||
<IpcRendererReact />
|
||||
<Devtool />
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue