Suspense > ajouter le menu aux premières informations chargées
This commit is contained in:
parent
a9348b8a56
commit
64150d9d04
@ -15,10 +15,8 @@ const renderLoader = () => <p>Loading</p>;
|
||||
function App() {
|
||||
return (
|
||||
<div className="App">
|
||||
<Suspense fallback={renderLoader()}>
|
||||
<Suspense className="topNavigation" fallback={renderLoader()}>
|
||||
<MenuComponent />
|
||||
</Suspense>
|
||||
<Suspense fallback={renderLoader()}>
|
||||
<MainCard />
|
||||
</Suspense>
|
||||
<Suspense fallback={renderLoader()}>
|
||||
|
Loading…
x
Reference in New Issue
Block a user