7 lines
173 B
TypeScript
7 lines
173 B
TypeScript
![]() |
import { CommandsContext } from 'components/CommandBar'
|
||
|
import { useContext } from 'react'
|
||
|
|
||
|
export const useCommandsContext = () => {
|
||
|
return useContext(CommandsContext)
|
||
|
}
|