Possibility to change selected files after the fact

This commit is contained in:
Igor Katson 2024-03-30 20:05:12 +00:00
parent feae1789a9
commit 86d9d2c5f0
11 changed files with 186 additions and 52 deletions

View file

@ -1,6 +1,5 @@
import { createContext } from "react";
import { RqbitAPI } from "./api-types";
import { ContextType } from "./rqbit-web";
export const APIContext = createContext<RqbitAPI>({
listTorrents: () => {
@ -15,6 +14,9 @@ export const APIContext = createContext<RqbitAPI>({
uploadTorrent: () => {
throw new Error("Function not implemented.");
},
updateOnlyFiles: () => {
throw new Error("Function not implemented.");
},
pause: () => {
throw new Error("Function not implemented.");
},