Skip to content

Commit 66250c4

Browse files
committed
fix: change type to button to prevent form submission
1 parent 6c71d49 commit 66250c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

elements/src/components/pos-make-findable/pos-make-findable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export class PosMakeFindable implements PodOsAware {
8585

8686
return (
8787
<Host>
88-
<button class={{ main: true, open: this.showOptions }} onClick={e => this.onClick(e)} title="">
88+
<button type="button" class={{ main: true, open: this.showOptions }} onClick={e => this.onClick(e)} title="">
8989
<svg
9090
xmlns="http://www.w3.org/2000/svg"
9191
fill="none"

0 commit comments

Comments
 (0)