Skip to content

Commit

Permalink
deployment test
Browse files Browse the repository at this point in the history
  • Loading branch information
kimgh06 committed Sep 20, 2024
1 parent b5eefbd commit 5c0e571
Show file tree
Hide file tree
Showing 8 changed files with 2,240 additions and 7,876 deletions.
6 changes: 4 additions & 2 deletions jsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{
"compilerOptions": {
"paths": {
"@/*": ["./src/*"]
"@/*": [
"./src/*"
]
}
}
}
}
4,561 changes: 2,232 additions & 2,329 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"react-dom": "^18.2.0",
"recoil": "^0.7.7",
"recoil-persist": "^5.1.0",
"styled-components": "^6.0.7",
"styled-components": "6.0.7",
"youtube-search-api": "^1.2.1",
"ytdl-core": "^4.11.5",
"zustand": "^4.5.2"
Expand Down
1 change: 1 addition & 0 deletions src/app/api/get_video/route.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ export async function GET(req, response) {
}
throw "no datas"
} catch (e) {
console.log(e)
return NextResponse.json({ err: e }, { status: e.status || 500 })
}
}
Expand Down
2 changes: 0 additions & 2 deletions src/app/api/login/route.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
// import { useQuery } from "@/app/useQuery";
import { NextResponse } from "next/server";
import mysql2 from 'mysql2/promise';
import jwt from 'jsonwebtoken';
import Connection from "@/app/createConnection";

Expand Down
1 change: 0 additions & 1 deletion src/app/myprofile/page.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ function InnerComponent() {
list.push(response.data.res[i]['song_id']);
}
const tracks = await getTrackinfos(list.join(','));
console.log(tracks)
setLikedSong(tracks);
} catch (error) {
console.error("Error fetching liked songs:", error);
Expand Down
4 changes: 2 additions & 2 deletions src/components/playlistAtom/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,14 +111,14 @@ export default function PlaylistAtom({ index, img, title, artist, id, type, play
}, [clicked])
useEffect(e => {
if (type === 'track') {
getLikedSongs();
// getLikedSongs();
}
}, [])
useEffect(e => {
if (!(type === 'track' && (now_playing_id === id || liked === null))) {
return;
}
getLikedSongs();
// getLikedSongs();
}, [now_playing_id])
return <RecoilRoot>
<S.PlayAtom>
Expand Down
5,539 changes: 0 additions & 5,539 deletions yarn.lock

This file was deleted.

0 comments on commit 5c0e571

Please sign in to comment.