mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-01-18 15:06:58 +01:00
7 lines
174 B
TypeScript
7 lines
174 B
TypeScript
import { useContext } from 'react';
|
|
import { DialogContext } from '../components/DialogContext';
|
|
|
|
export function useDialog() {
|
|
return useContext(DialogContext).actions;
|
|
}
|