Skip to content

Commit

Permalink
⚡️ :: (#28) add use gate context hook
Browse files Browse the repository at this point in the history
  • Loading branch information
KJG04 committed Jan 25, 2022
1 parent 12e380a commit 8bb5c56
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions functions/src/hooks/useGateConext.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { GateContext } from "../context/GateContext";
import { useContext } from "react";

const useGateContext = () => useContext(GateContext);

export default useGateContext;

0 comments on commit 8bb5c56

Please sign in to comment.