@@ -20,7 +20,7 @@ import {
20
20
import { makeStyles } from "@mui/styles" ;
21
21
import {
22
22
getInitialRichParameterValues ,
23
- useValidationSchemaForRichParameters ,
23
+ validateRichParameters ,
24
24
} from "utils/richParameters" ;
25
25
import {
26
26
ImmutableTemplateParametersSection ,
@@ -95,7 +95,7 @@ export const CreateWorkspacePageView: FC<CreateWorkspacePageViewProps> = ({
95
95
} ,
96
96
validationSchema : Yup . object ( {
97
97
name : nameValidator ( "Workspace Name" ) ,
98
- rich_parameter_values : useValidationSchemaForRichParameters ( parameters ) ,
98
+ rich_parameter_values : validateRichParameters ( parameters ) ,
99
99
} ) ,
100
100
enableReinitialize : true ,
101
101
onSubmit : ( request ) => {
@@ -283,7 +283,7 @@ function DuplicateWarningMessage() {
283
283
return null ;
284
284
}
285
285
286
- // Set up looks a little hokey (having an Alert already fully configured to
286
+ // Setup looks a little hokey (having an Alert already fully configured to
287
287
// listen to dismissals, on top of more dismissal state), but relying solely
288
288
// on the Alert API wouldn't get rid of the div and horizontal margin helper
289
289
// after the dismiss happens. Not using CSS margins because those can be a
0 commit comments