From f7aace4ebf83f9f1b2f96222ecd09d3c86999e87 Mon Sep 17 00:00:00 2001 From: Igor Katson Date: Thu, 15 Aug 2024 15:00:12 +0100 Subject: [PATCH] Fix build for 7.0.0 --- crates/librqbit/webui/src/context.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/librqbit/webui/src/context.tsx b/crates/librqbit/webui/src/context.tsx index cf2af8c..58a63a8 100644 --- a/crates/librqbit/webui/src/context.tsx +++ b/crates/librqbit/webui/src/context.tsx @@ -35,5 +35,8 @@ export const APIContext = createContext({ getStreamLogsUrl: function (): string | null { throw new Error("Function not implemented."); }, + getPlaylistUrl: function (index: number): string | null { + throw new Error("Function not implemented."); + }, }); export const RefreshTorrentStatsContext = createContext({ refresh: () => {} });