more refactoring
This commit is contained in:
@@ -23,6 +23,7 @@ export interface AppContext {
|
||||
gameData: GameUpdate;
|
||||
noGame: boolean;
|
||||
tilts: Tilt[];
|
||||
selectCardIndex: number;
|
||||
flipCard: (cardIndex: number) => void;
|
||||
handleSettings: (gameData: GameUpdate) => void;
|
||||
redraw: (cardIndex: number) => void;
|
||||
@@ -55,6 +56,7 @@ export function AppProvider({ children }: { children: ReactNode }) {
|
||||
gameData,
|
||||
noGame,
|
||||
tilts,
|
||||
selectCardIndex,
|
||||
flipCard,
|
||||
handleSettings,
|
||||
redraw,
|
||||
|
||||
Reference in New Issue
Block a user