Skip to content

Commit

Permalink
build: bundle the package properly
Browse files Browse the repository at this point in the history
  • Loading branch information
nperez0111 committed Jan 20, 2025
1 parent 941809b commit 9609707
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/react/src/menus/BubbleMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const BubbleMenu = React.forwardRef<HTMLDivElement, BubbleMenuProps>(
bubbleMenuElement.style.visibility = 'hidden'
bubbleMenuElement.style.position = 'absolute'

if (editor?.isDestroyed || (currentEditor as any)?.isDestroyed) {
if (editor?.isDestroyed || currentEditor?.isDestroyed) {
return
}

Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/menus/FloatingMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const FloatingMenu = React.forwardRef<HTMLDivElement, FloatingMenuProps>(
floatingMenuElement.style.visibility = 'hidden'
floatingMenuElement.style.position = 'absolute'

if (editor?.isDestroyed || (currentEditor as any)?.isDestroyed) {
if (editor?.isDestroyed || currentEditor?.isDestroyed) {
return
}

Expand Down

0 comments on commit 9609707

Please sign in to comment.