mirror of https://github.com/logseq/logseq
fix: whiteboards export
parent
498abf568c
commit
22ebc1d5ab
|
@ -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) => {
|
||||||
|
|
Loading…
Reference in New Issue