Fix build for 7.0.0

This commit is contained in:
Igor Katson 2024-08-15 15:00:12 +01:00
parent 30de55d3bc
commit f7aace4ebf
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5

View file

@ -35,5 +35,8 @@ export const APIContext = createContext<RqbitAPI>({
getStreamLogsUrl: function (): string | null { getStreamLogsUrl: function (): string | null {
throw new Error("Function not implemented."); throw new Error("Function not implemented.");
}, },
getPlaylistUrl: function (index: number): string | null {
throw new Error("Function not implemented.");
},
}); });
export const RefreshTorrentStatsContext = createContext({ refresh: () => {} }); export const RefreshTorrentStatsContext = createContext({ refresh: () => {} });