Commit cbd30cd3 authored by Jiwon Yoon's avatar Jiwon Yoon
Browse files

gg

parent f143e8c2
...@@ -19,9 +19,10 @@ function App() { ...@@ -19,9 +19,10 @@ function App() {
return ( return (
<div> <div>
{/* {console.log("match.params=",match.params(product))} */} {/* {console.log("match.params=",match.params(product))} */}
<MainNav />
<SubNav />
<Router> <Router>
<MainNav />
<SubNav />
<Switch> <Switch>
<Route exact path="/" component={Home} /> <Route exact path="/" component={Home} />
<Route path="/login" component={Login} /> <Route path="/login" component={Login} />
......
...@@ -3,7 +3,6 @@ import { Redirect } from 'react-router-dom'; ...@@ -3,7 +3,6 @@ import { Redirect } from 'react-router-dom';
import { Row, Col, Button, Form, Container, Alert } from 'react-bootstrap'; import { Row, Col, Button, Form, Container, Alert } from 'react-bootstrap';
import axios from 'axios'; import axios from 'axios';
import catchErrors from '../utils/catchErrors'; import catchErrors from '../utils/catchErrors';
import { Redirect } from 'react-router-dom';
let color = {} let color = {}
let preColors = [] let preColors = []
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment