feat: Add option to toggle editor icon in new notes list design (#799)

This commit is contained in:
Aman Harwara
2022-01-06 20:30:10 +05:30
committed by GitHub
parent 285fe31dd8
commit 875f5417be
8 changed files with 57 additions and 23 deletions

View File

@@ -32,7 +32,7 @@ export function useCloseOnBlur(
}
export function useCloseOnClickOutside(
container: { current: HTMLDivElement },
container: { current: HTMLDivElement | null },
setOpen: (open: boolean) => void
): void {
const closeOnClickOutside = useCallback(