Skip to content

Commit

Permalink
fix: spa modals (#10781)
Browse files Browse the repository at this point in the history
  • Loading branch information
guanbinrui committed Sep 18, 2023
1 parent a438637 commit e1efa9d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/app/src/MainUI.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Suspense, lazy, useEffect } from 'react'
import { BrowserRouter, Navigate, Route, Routes } from 'react-router-dom'
import { Modals } from '@masknet/shared'
import { SiteAdaptorContextRef } from '@masknet/plugin-infra/content-script'
import { DashboardForDesktop } from './components/DashboardDesktop.js'
import { DashboardForMobile } from './components/DashboardMobile.js'
Expand Down Expand Up @@ -47,6 +48,7 @@ export function MainUI() {
</Routes>
</Suspense>
</div>
<Modals createWallet={() => {}} />
</BrowserRouter>
<PageInspectorRender />
</DashboardContext.Provider>
Expand Down

0 comments on commit e1efa9d

Please sign in to comment.