File tree Expand file tree Collapse file tree 1 file changed +3
-13
lines changed
static/app/components/modals Expand file tree Collapse file tree 1 file changed +3
-13
lines changed Original file line number Diff line number Diff line change 1- import { Fragment , useCallback , useState } from 'react' ;
1+ import { Fragment , useState } from 'react' ;
22import { captureFeedback } from '@sentry/react' ;
33
44import { addSuccessMessage } from 'sentry/actionCreators/indicator' ;
@@ -47,7 +47,7 @@ export function PrivateGamingSdkAccessModal({
4747
4848 const isFormValid = ! ! githubProfile . trim ( ) && gamingPlatforms . length > 0 ;
4949
50- const handleSubmit = useCallback ( ( ) => {
50+ function handleSubmit ( ) {
5151 if ( ! isFormValid ) {
5252 return ;
5353 }
@@ -105,17 +105,7 @@ export function PrivateGamingSdkAccessModal({
105105 ) ;
106106 setIsSubmitting ( false ) ;
107107 closeModal ( ) ;
108- } , [
109- isFormValid ,
110- githubProfile ,
111- organization ,
112- sdkName ,
113- user ,
114- gamingPlatforms ,
115- closeModal ,
116- onSubmit ,
117- projectSlug ,
118- ] ) ;
108+ }
119109
120110 return (
121111 < Fragment >
You can’t perform that action at this time.
0 commit comments