mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-31 12:14:46 -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 { WatchInfo, kyooApiUrl, queryFn, toQueryKey } from "@kyoo/models";
|
||||||
import { Player } from "../player";
|
import { Player } from "../player";
|
||||||
import { getCurrentAccount } from "@kyoo/models/src/account-internal";
|
import { getCurrentAccount } from "@kyoo/models/src/account-internal";
|
||||||
|
import { ReactNode } from "react";
|
||||||
|
|
||||||
export const useDownloader = () => {
|
export const useDownloader = () => {
|
||||||
return async (type: "episode" | "movie", slug: string) => {
|
return async (type: "episode" | "movie", slug: string) => {
|
||||||
@ -46,3 +47,6 @@ export const useDownloader = () => {
|
|||||||
a.click();
|
a.click();
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export const DownloadPage = () => {};
|
||||||
|
export const DownloadProvider = ({ children }: { children: ReactNode }) => children;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user