Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
shopping-mall
Commits
cbd30cd3
Commit
cbd30cd3
authored
Jan 13, 2021
by
Jiwon Yoon
Browse files
gg
parent
f143e8c2
Changes
2
Hide whitespace changes
Inline
Side-by-side
client/src/App.js
View file @
cbd30cd3
...
@@ -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
}
/
>
...
...
client/src/Pages/ProductRegist.js
View file @
cbd30cd3
...
@@ -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
=
[]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment