fix: whiteboards export

pull/9563/head
Konstantinos Kaloutas 2023-06-06 10:11:18 +03:00 committed by Gabriel Horner
parent 498abf568c
commit 22ebc1d5ab
1 changed files with 2 additions and 3 deletions

View File

@ -21,9 +21,8 @@ export const ContextMenu = observer(function ContextMenu({
collisionRef, collisionRef,
}: ContextMenuProps) { }: ContextMenuProps) {
const app = useApp() const app = useApp()
const { const { handlers } = React.useContext(LogseqContext)
handlers: { t }, const t = handlers.t
} = React.useContext(LogseqContext)
const rContent = React.useRef<HTMLDivElement>(null) const rContent = React.useRef<HTMLDivElement>(null)
const runAndTransition = (f: Function) => { const runAndTransition = (f: Function) => {