File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ export default class ShareButton<LinkOptions> extends Component<Props<LinkOption
132
132
windowOpen ( link , windowConfig , onShareWindowClose ) ;
133
133
} ;
134
134
135
- handleClick = async ( e : React . MouseEvent < HTMLButtonElement > ) => {
135
+ handleClick = async ( event : React . MouseEvent < HTMLButtonElement > ) => {
136
136
const {
137
137
beforeOnClick,
138
138
disabled,
@@ -149,7 +149,7 @@ export default class ShareButton<LinkOptions> extends Component<Props<LinkOption
149
149
return ;
150
150
}
151
151
152
- e . preventDefault ( ) ;
152
+ event . preventDefault ( ) ;
153
153
154
154
if ( beforeOnClick ) {
155
155
const returnVal = beforeOnClick ( ) ;
@@ -164,7 +164,7 @@ export default class ShareButton<LinkOptions> extends Component<Props<LinkOption
164
164
}
165
165
166
166
if ( onClick ) {
167
- onClick ( e , link ) ;
167
+ onClick ( event , link ) ;
168
168
}
169
169
} ;
170
170
You can’t perform that action at this time.
0 commit comments