mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-03 06:28:51 +00:00
fix(match): fix suspense issue
This commit is contained in:
1 parent
98358e54eb
commit
2cbd3c934d
1 file changed
+4
-1
@@ -7,6 +7,7 @@ import { useApp } from '../../../os/apps/hooks/useApps';
|
||||
import { MatchThemeProvider } from '../providers/MatchThemeProvider';
|
||||
import MatchBottomNavigation from '../components/BottomNavigation';
|
||||
import MatchContainer from './MatchContainer';
|
||||
import { LoadingSpinner } from '../../../ui/components/LoadingSpinner';
|
||||
|
||||
export const MatchApp = () => {
|
||||
const match = useApp('MATCH');
|
||||
@@ -19,7 +20,9 @@ export const MatchApp = () => {
|
||||
<AppWrapper id="contact-app">
|
||||
<AppTitle app={match} />
|
||||
<AppContent>
|
||||
<MatchContainer />
|
||||
<React.Suspense fallback={<LoadingSpinner />}>
|
||||
<MatchContainer />
|
||||
</React.Suspense>
|
||||
</AppContent>
|
||||
<MatchBottomNavigation activePage={activePage} handleChange={handlePageChange} />
|
||||
</AppWrapper>
|
||||
|
||||
Reference in new issue
Block a user