Working launch with auth and version
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { MinecraftAccount } from "@/lib/auth";
|
||||
import { GameVersion } from "@/lib/types";
|
||||
|
||||
export type SetState<T> = React.Dispatch<React.SetStateAction<T>>;
|
||||
@@ -15,4 +16,10 @@ export interface Props {
|
||||
|
||||
versionRef: React.RefObject<HTMLDivElement | null>;
|
||||
accountRef: React.RefObject<HTMLDivElement | null>;
|
||||
|
||||
accounts: MinecraftAccount[];
|
||||
setAccounts: SetState<MinecraftAccount[]>;
|
||||
|
||||
activeAccount: MinecraftAccount | null;
|
||||
setActiveAccount: SetState<MinecraftAccount | null>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user