Skip to content
Snippets Groups Projects
Commit 3d05b57b authored by Sumin Shin's avatar Sumin Shin
Browse files

0805

parent 63de80f1
No related branches found
No related tags found
No related merge requests found
Pipeline #8504 passed
...@@ -47,7 +47,6 @@ export default function App (){ ...@@ -47,7 +47,6 @@ export default function App (){
body: JSON.stringify(item), body: JSON.stringify(item),
}).catch((e) => console.log("error while posting likes")); }).catch((e) => console.log("error while posting likes"));
} else { } else {
fetch(`/likes/${id}`, { fetch(`/likes/${id}`, {
method: "DELETE", method: "DELETE",
}) })
......
...@@ -2,7 +2,6 @@ import React, { useEffect } from 'react'; ...@@ -2,7 +2,6 @@ import React, { useEffect } from 'react';
import MusicList from './MusicList'; import MusicList from './MusicList';
const Favorites = ({ list, likes, onLike}) => { const Favorites = ({ list, likes, onLike}) => {
return ( return (
<React.Fragment> <React.Fragment>
<MusicList list={list} likes={likes} onLike={onLike} /> <MusicList list={list} likes={likes} onLike={onLike} />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment