mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: add null check (#17896)
This commit is contained in:
@@ -136,7 +136,7 @@ const CreateWorkspacePageExperimental: FC = () => {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!initialParamsSentRef.current && response.parameters.length > 0) {
|
if (!initialParamsSentRef.current && response.parameters?.length > 0) {
|
||||||
sendInitialParameters([...response.parameters]);
|
sendInitialParameters([...response.parameters]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user