File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
client/modules/IDE/components Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ export default function SideBar() {
9191 < ul className = "sidebar__project-options" >
9292 < li >
9393 < button
94- onMouseDown = { ( e ) => e . preventDefault ( ) } // prevents triggering the blur event before onClick
94+ onMouseDown = { ( e ) => e . preventDefault ( ) }
9595 aria-label = { t ( 'Sidebar.AddFolderARIA' ) }
9696 onClick = { ( ) => {
9797 dispatch ( newFolder ( rootFile . id ) ) ;
@@ -104,7 +104,7 @@ export default function SideBar() {
104104 </ li >
105105 < li >
106106 < button
107- onMouseDown = { ( e ) => e . preventDefault ( ) } // prevents triggering the blur event before onClick
107+ onMouseDown = { ( e ) => e . preventDefault ( ) }
108108 aria-label = { t ( 'Sidebar.AddFileARIA' ) }
109109 onClick = { ( ) => {
110110 dispatch ( newFile ( rootFile . id ) ) ;
@@ -118,7 +118,7 @@ export default function SideBar() {
118118 { isAuthenticated && (
119119 < li >
120120 < button
121- onMouseDown = { ( e ) => e . preventDefault ( ) } // prevents triggering the blur event before onClick
121+ onMouseDown = { ( e ) => e . preventDefault ( ) }
122122 aria-label = { t ( 'Sidebar.UploadFileARIA' ) }
123123 onClick = { ( ) => {
124124 dispatch ( openUploadFileModal ( rootFile . id ) ) ;
You can’t perform that action at this time.
0 commit comments