mirror of
https://github.com/drawdb-io/drawdb.git
synced 2026-02-13 02:12:56 +08:00
7 lines
167 B
JavaScript
7 lines
167 B
JavaScript
import { useContext } from "react";
|
|
import { TypesContext } from "../context/TypesContext";
|
|
|
|
export default function useTypes() {
|
|
return useContext(TypesContext);
|
|
}
|