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