Skip to content

Commit 9f51b97

Browse files
committed
Add type=button to icon buttons
1 parent 4027722 commit 9f51b97

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

apps/builder/app/builder/features/topbar/publish.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ const ChangeProjectDomain = ({
190190
variant="wrapped"
191191
>
192192
<IconButton
193+
type="button"
193194
tabIndex={-1}
194195
onClick={(event) => {
195196
window.open(pageUrl, "_blank");
@@ -1231,6 +1232,7 @@ export const PublishButton = ({ projectId }: PublishProps) => {
12311232
suffix={
12321233
<PopoverTitleActions>
12331234
<IconButton
1235+
type="button"
12341236
onClick={() => {
12351237
$openProjectSettings.set("publish");
12361238
}}

0 commit comments

Comments
 (0)