浏览代码

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>
   );