Skip to content

Commit

Permalink
Hide overlay when clicking cancel
Browse files Browse the repository at this point in the history
  • Loading branch information
richardolsson committed Jan 17, 2025
1 parent 75aac71 commit 3213701
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zui/ZUIEditor/ButtonExtensionUI.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const ButtonExtensionUI: FC = () => {
<TextAndHrefOverlay
href={href}
onCancel={() => {
// TODO: Hide somehow
setVisible(false);
}}
onChangeHref={(href) => setHref(href)}
onChangeText={(text) => setText(text)}
Expand Down

0 comments on commit 3213701

Please sign in to comment.