File tree 3 files changed +4
-3
lines changed
3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -22,4 +22,5 @@ npm-debug.log*
22
22
yarn-debug.log *
23
23
yarn-error.log *
24
24
25
- accessToken
25
+ accessToken
26
+ /data
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import { css } from "@emotion/react";
10
10
import ClipLoader from "react-spinners/ClipLoader" ;
11
11
12
12
function Content ( ) {
13
- const url = "http ://localhost:8000 " ;
13
+ const url = "https ://momo-japan-market.com/products " ;
14
14
const initState = {
15
15
showAll : true ,
16
16
showBicycle : false ,
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import logo from "../logos/logo_trans.svg";
11
11
const ProductDetail = ( ) => {
12
12
const [ form , setForm ] = useState ( false ) ;
13
13
const { id } = useParams ( ) ;
14
- const url = "http ://localhost:8000/products ?id=" + id ;
14
+ const url = "https ://momo-japan-market.com/product ?id=" + id ;
15
15
const { data : product , isPending, error } = useFetch ( url ) ;
16
16
const override = css `
17
17
display : block;
You can’t perform that action at this time.
0 commit comments