From 78e30cd51654a20818a610e3b263fa0740dcdc33 Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Tue, 19 Dec 2023 14:23:54 +0100 Subject: [PATCH] Fix types --- front/packages/ui/src/downloads/index.web.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/front/packages/ui/src/downloads/index.web.tsx b/front/packages/ui/src/downloads/index.web.tsx index 5ec26b5c..12829832 100644 --- a/front/packages/ui/src/downloads/index.web.tsx +++ b/front/packages/ui/src/downloads/index.web.tsx @@ -21,6 +21,7 @@ import { WatchInfo, kyooApiUrl, queryFn, toQueryKey } from "@kyoo/models"; import { Player } from "../player"; import { getCurrentAccount } from "@kyoo/models/src/account-internal"; +import { ReactNode } from "react"; export const useDownloader = () => { return async (type: "episode" | "movie", slug: string) => { @@ -46,3 +47,6 @@ export const useDownloader = () => { a.click(); }; }; + +export const DownloadPage = () => {}; +export const DownloadProvider = ({ children }: { children: ReactNode }) => children;