mirror of
https://github.com/drawdb-io/drawdb.git
synced 2026-02-12 02:00:40 +08:00
Rename TablesContext to DiagramContext
This commit is contained in:
6
src/hooks/useDiagram.js
Normal file
6
src/hooks/useDiagram.js
Normal file
@@ -0,0 +1,6 @@
|
||||
import { useContext } from "react";
|
||||
import { DiagramContext } from "../context/DiagramContext";
|
||||
|
||||
export default function useDiagram() {
|
||||
return useContext(DiagramContext);
|
||||
}
|
||||
Reference in New Issue
Block a user