mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-01-16 05:56:47 +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;
|
|
}
|