mirror of
https://github.com/drawdb-io/drawdb.git
synced 2026-06-02 02:09:48 +08:00
Abstract types from editor
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
import { useContext } from "react";
|
||||
import { TypesContext } from "../context/TypesContext";
|
||||
|
||||
export default function useTypes() {
|
||||
return useContext(TypesContext);
|
||||
}
|
||||
Reference in New Issue
Block a user