refactor: change UI of login/list and fix Api not being defined in context
This commit is contained in:
13 files changed
+243
-171
No files matched your search
@@ -51,11 +51,8 @@ import { DndProvider } from "react-dnd";
|
||||
import { HTML5Backend } from "react-dnd-html5-backend";
|
||||
|
||||
type ApiContext = {
|
||||
api: Api;
|
||||
createApi: (
|
||||
serverAddress: string | undefined | null,
|
||||
accessToken: string | undefined | null,
|
||||
) => void;
|
||||
api: Api | undefined;
|
||||
createApi: (serverAddress: string, accessToken: string | undefined) => void;
|
||||
user: UserDto | null | undefined;
|
||||
jellyfinSDK: Jellyfin;
|
||||
fetchCurrentUser: (api: Api | undefined) => Promise<void>;
|
||||
|
||||
Reference in new issue
Block a user