10 lines
236 B
TypeScript
10 lines
236 B
TypeScript
|
|
"use client";
|
||
|
|
import { IMaterialsContext } from "@/typings/context.type";
|
||
|
|
import { createContext } from "react";
|
||
|
|
|
||
|
|
const MaterialsContext = createContext<IMaterialsContext>(
|
||
|
|
{} as IMaterialsContext
|
||
|
|
);
|
||
|
|
|
||
|
|
export default MaterialsContext;
|