Fixed reloading issue

This commit is contained in:
Alex Kim
2024-11-25 15:53:15 +11:00
parent 0054095b20
commit e82890d7ff

View File

@@ -116,9 +116,9 @@ const Player = () => {
audioIndex,
subtitleIndex,
bitrateValue,
user,
mediaSourceId,
],
queryFn: async () => {
if (!api) {
throw new Error("No api");
@@ -129,7 +129,6 @@ const Player = () => {
return null;
}
console.log("getting med");
const res = await getStreamUrl({
api,
item,