diff --git a/src/app/page.tsx b/src/app/page.tsx index a801aa6..ffc3ae3 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,4 +1,5 @@ import { getQueue, getCurrentPlayback } from "@/utils/queue"; +import * as Spotify from "spotify-api.js"; import styles from "./page.module.css"; import { redirect } from "next/navigation"; import TitleBar from "./titlebar"; @@ -6,8 +7,8 @@ import TrackCover from "./track_cover"; import TrackList from "./track_list"; interface Props { - queue: any; - currentPlayback: any; + queue: Spotify.Track[]; + currentPlayback: Spotify.CurrentPlayback | null; } export function Body({ queue, currentPlayback }: Props) { diff --git a/src/app/titlebar.module.css b/src/app/titlebar.module.css index b047517..81cc690 100644 --- a/src/app/titlebar.module.css +++ b/src/app/titlebar.module.css @@ -41,7 +41,7 @@ margin: 2% 5% 5% 5%; border-width: 1px; border-color: black; - padding: 10px; + padding: 20px; border-radius: 20px; }