Skip to content

Commit b9c2a51

Browse files
feedback
1 parent de9fcaa commit b9c2a51

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

static/app/components/modals/privateGamingSdkAccessModal.tsx

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {Fragment, useCallback, useState} from 'react';
1+
import {Fragment, useState} from 'react';
22
import {captureFeedback} from '@sentry/react';
33

44
import {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>

0 commit comments

Comments
 (0)