瀏覽代碼

fix warning

Entony 6 年之前
父節點
當前提交
721a4f5e43
共有 1 個文件被更改,包括 2 次插入4 次删除
  1. 2 4
      src/router.js

+ 2 - 4
src/router.js

@@ -5,9 +5,7 @@ import FetchPage from "./container/fetchPage";
 
 export default () => (
 	<Switch>
-		<div>
-			<Route path="/" exact component={App} />
-			<Route exact path="/fetch" component={FetchPage} />
-		</div>
+		<Route path="/" exact component={App} />
+		<Route exact path="/fetch" component={FetchPage} />
 	</Switch>
 );