@@ -119,12 +119,12 @@ export const A11y: React.FC<Props> = ({
119119 pressed : startPressed ? startPressed : false ,
120120 } ) ;
121121
122- const a11yScreenReader = useAnnounceStore ( state => state . a11yScreenReader ) ;
122+ const a11yScreenReader = useAnnounceStore ( ( state ) => state . a11yScreenReader ) ;
123123
124124 const overHtml = useRef ( false ) ;
125125 const overMesh = useRef ( false ) ;
126126
127- const domElement = useThree ( state => state . gl . domElement ) ;
127+ const domElement = useThree ( ( state ) => state . gl . domElement ) ;
128128
129129 // temporary fix to prevent error -> keep track of our component's mounted state
130130 const componentIsMounted = useRef ( true ) ;
@@ -137,7 +137,7 @@ export const A11y: React.FC<Props> = ({
137137
138138 React . Children . only ( children ) ;
139139 // @ts -ignore
140- const handleOnPointerOver = e => {
140+ const handleOnPointerOver = ( e ) => {
141141 if ( e . eventObject ) {
142142 overMesh . current = true ;
143143 } else {
@@ -155,7 +155,7 @@ export const A11y: React.FC<Props> = ({
155155 }
156156 } ;
157157 // @ts -ignore
158- const handleOnPointerOut = e => {
158+ const handleOnPointerOut = ( e ) => {
159159 if ( e . eventObject ) {
160160 overMesh . current = false ;
161161 } else {
@@ -220,7 +220,7 @@ export const A11y: React.FC<Props> = ({
220220 ) }
221221 onPointerOver = { handleOnPointerOver }
222222 onPointerOut = { handleOnPointerOut }
223- onClick = { e => {
223+ onClick = { ( e ) => {
224224 e . stopPropagation ( ) ;
225225 if ( disabled ) {
226226 return ;
@@ -262,7 +262,7 @@ export const A11y: React.FC<Props> = ({
262262 ) }
263263 onPointerOver = { handleOnPointerOver }
264264 onPointerOut = { handleOnPointerOut }
265- onClick = { e => {
265+ onClick = { ( e ) => {
266266 e . stopPropagation ( ) ;
267267 if ( disabled ) {
268268 return ;
@@ -302,7 +302,7 @@ export const A11y: React.FC<Props> = ({
302302 href = { href }
303303 onPointerOver = { handleOnPointerOver }
304304 onPointerOut = { handleOnPointerOut }
305- onClick = { e => {
305+ onClick = { ( e ) => {
306306 e . stopPropagation ( ) ;
307307 e . preventDefault ( ) ;
308308 if ( typeof actionCall === 'function' ) actionCall ( ) ;
@@ -460,7 +460,7 @@ export const A11y: React.FC<Props> = ({
460460 >
461461 < group
462462 { ...props }
463- onClick = { e => {
463+ onClick = { ( e ) => {
464464 e . stopPropagation ( ) ;
465465 if ( disabled || ( dragThreshold && e . delta > dragThreshold ) ) {
466466 return ;
0 commit comments