mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
Fix types
This commit is contained in:
parent
14540081be
commit
78e30cd516
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user