()
| 36 | } |
| 37 | |
| 38 | export const useLinkStore = () => { |
| 39 | const editor = useEditableStatic() |
| 40 | return React.useMemo(() => getStore(editor), [editor]) |
| 41 | } |
| 42 | |
| 43 | export const useLinkOpen = (): [boolean, (open: boolean) => void] => { |
| 44 | const store = useLinkStore() |
no test coverage detected
searching dependent graphs…