feat: show queue item from currently playing item in queueButton

This commit is contained in:
Prayag Prajapati committed 2024-09-14 11:33:18 +05:30
1 parent 48af14b64f
commit e82ff1ff0c
5 files changed
+105 -101

No files matched your search

+2 -2
View File
@@ -7,7 +7,7 @@ export const Route = createFileRoute("/_api/login")({
const api = context.api;
if (!api) {
console.info("Awaiting Api generation.");
return;
throw redirect({ to: "/login/manual" });
}
const publicUsers = (await getUserApi(api).getPublicUsers()).data;
if (publicUsers.length > 0) {
@@ -16,4 +16,4 @@ export const Route = createFileRoute("/_api/login")({
throw redirect({ to: "/login/manual" });
}
},
});
});