We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 953cf77 commit 95a6722Copy full SHA for 95a6722
src/features/instance/applications/modals/RedeployApplication.tsx
@@ -30,8 +30,10 @@ export function RedeployApplicationModal({
30
31
const { setFocus, control, handleSubmit } = methods;
32
33
- const submitForm = ({applicationUrl }: { applicationUrl: string }) => {
34
- redeployPackage(applicationUrl);
+ const submitForm = ({ applicationUrl }: { applicationUrl: string | undefined }) => {
+ if (applicationUrl) {
35
+ redeployPackage(applicationUrl);
36
+ }
37
}
38
39
useEffect(() => {
0 commit comments