Move these functions out of here, it's needed for something
This commit is contained in:
3 files changed
+335
-332
No files matched your search
@@ -64,6 +64,11 @@ type GlobalCtxType = {
|
||||
setMovingData: Dispatch<SetStateAction<boolean>>
|
||||
managingGame: number | null
|
||||
setManagingGame: Dispatch<SetStateAction<number | null>>
|
||||
needsRevisionUpdate: (
|
||||
lastRevision: number | undefined,
|
||||
version: string
|
||||
) => boolean
|
||||
launchGame: (versionInfo: GameVersion) => Promise<void>
|
||||
}
|
||||
|
||||
const GlobalCtx = createContext<GlobalCtxType | null>(null)
|
||||
|
||||
Reference in new issue
Block a user