Browse Source

fix warning

Entony 6 năm trước cách đây
mục cha
commit
721a4f5e43
1 tập tin đã thay đổi với 2 bổ sung4 xóa
  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>
 );