2
0
Files

6 lines
179 B
TypeScript
Raw Permalink Normal View History

2024-08-09 00:39:27 +02:00
import { createContext, useContext } from "react";
export const ApiKeyContext = createContext({ key: "", error: "" });
export const useApiKey = () => useContext(ApiKeyContext);