Basic functionality
This commit is contained in:
8
src/api/contexts/GamesContext.tsx
Normal file
8
src/api/contexts/GamesContext.tsx
Normal file
@ -0,0 +1,8 @@
|
||||
import {createContext} from "react";
|
||||
import type IGame from "../types/IGame.ts";
|
||||
|
||||
export const GamesContext = createContext<{games: IGame[]}>(
|
||||
{
|
||||
games: []
|
||||
}
|
||||
);
|
Reference in New Issue
Block a user