All checks were successful
Build and Publish Docker Image / build-and-push (push) Successful in 2m52s
5 lines
173 B
TypeScript
5 lines
173 B
TypeScript
import { useContext } from "react";
|
|
import { CategoriesContext } from "../contexts/CategoriesContext.ts";
|
|
|
|
export const useCategories = () => useContext(CategoriesContext);
|