Skip to content

Commit

Permalink
fix classNames
Browse files Browse the repository at this point in the history
  • Loading branch information
bmartel committed Feb 21, 2025
1 parent f8659d8 commit 08f7be6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ export const AnnotationButton = observer(
)}
</Elem>
<ContextMenuTrigger
className={cn("annotation-button").elem("trigger")}
className={cn("annotation-button").elem("trigger").toClassName()}
content={
<AnnotationButtonContextMenu
entity={entity}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const RegionContextMenu: FC<{ item: any }> = observer(({ item }: { item:

return (
<ContextMenuTrigger
className={cn("region-context-menu")}
className={cn("region-context-menu").toClassName()}
content={<ContextMenu actions={actions} />}
onToggle={(isOpen) => setOpen(isOpen)}
>
Expand Down

0 comments on commit 08f7be6

Please sign in to comment.