Rename TablesContext to DiagramContext

This commit is contained in:
1ilit
2024-07-04 23:18:20 +03:00
parent 3b1af3772e
commit 9b606114df
24 changed files with 52 additions and 52 deletions

6
src/hooks/useDiagram.js Normal file
View File

@@ -0,0 +1,6 @@
import { useContext } from "react";
import { DiagramContext } from "../context/DiagramContext";
export default function useDiagram() {
return useContext(DiagramContext);
}