فهرست منبع

Fix missing suspense closing tag from rebase

Andrew Swistak 6 سال پیش
والد
کامیت
2e7c2c7f3a
1فایلهای تغییر یافته به همراه7 افزوده شده و 6 حذف شده
  1. 7 6
      app/javascript/packs/frontend/app.tsx

+ 7 - 6
app/javascript/packs/frontend/app.tsx

@@ -24,12 +24,13 @@ function App(): React.ReactElement {
             <Route component={NotFound} />
           </Switch>
 
-        <p>
-          <Link to='/pokemon'>Show me the pokemon!</Link>
-        </p>
-        <p>
-          <Link to='/relay'>Take me to relay</Link>
-        </p>
+          <p>
+            <Link to='/pokemon'>Show me the pokemon!</Link>
+          </p>
+          <p>
+            <Link to='/relay'>Take me to relay</Link>
+          </p>
+        </Suspense>
       </ApplicationLayout>
     </BrowserRouter>
   );