simplify some things
This commit is contained in:
parent
fa70d2f3f4
commit
9ef160aeb7
8 changed files with 105 additions and 30 deletions
3
src/CommandContext.ts
Normal file
3
src/CommandContext.ts
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
import { createContext } from "react";
|
||||
|
||||
export const CommandContext = createContext<{[key:string]: () => void}>({});
|
||||
Loading…
Add table
Add a link
Reference in a new issue