Add tests

This commit is contained in:
Will Hunt
2024-12-02 15:24:54 +00:00
parent 74fa5e4bdf
commit 6bf07f0d4f
3 changed files with 127 additions and 4 deletions

View File

@@ -71,6 +71,8 @@ export type SetClientParams = {
const ClientContext = createContext<ClientState | undefined>(undefined);
export const ClientContextProvider = ClientContext.Provider;
export const useClientState = (): ClientState | undefined =>
useContext(ClientContext);