fix: add null check (#17896)

This commit is contained in:
Jaayden Halko
2025-05-16 19:41:37 -04:00
committed by GitHub
parent d6cb9b49b7
commit ac8591ec8f
@@ -136,7 +136,7 @@ const CreateWorkspacePageExperimental: FC = () => {
return;
}
if (!initialParamsSentRef.current && response.parameters.length > 0) {
if (!initialParamsSentRef.current && response.parameters?.length > 0) {
sendInitialParameters([...response.parameters]);
}