File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/feedback/src/screenshot/components Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -23,9 +23,9 @@ export default function ToolbarFactory({ h }: FactoryParams) {
2323 < div />
2424 < div class = "editor__tool-bar" >
2525 < button
26+ type = "button"
2627 class = { `editor__tool ${ action === 'crop' ? 'editor__tool--active' : '' } ` }
27- onClick = { e => {
28- e . preventDefault ( ) ;
28+ onClick = { ( ) => {
2929 if ( action === 'crop' ) {
3030 setAction ( '' ) ;
3131 } else {
@@ -36,9 +36,9 @@ export default function ToolbarFactory({ h }: FactoryParams) {
3636 < CropIcon />
3737 </ button >
3838 < button
39+ type = "button"
3940 class = { `editor__tool ${ action === 'annotate' ? 'editor__tool--active' : '' } ` }
40- onClick = { e => {
41- e . preventDefault ( ) ;
41+ onClick = { ( ) => {
4242 if ( action === 'annotate' ) {
4343 setAction ( '' ) ;
4444 } else {
You can’t perform that action at this time.
0 commit comments