File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
apps/dashboard/src/components/engine/configuration Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ export const EngineCorsConfig: React.FC<EngineCorsConfigProps> = ({
2929 ) ;
3030
3131 const form = useForm < CorsForm > ( {
32- defaultValues : { raw : existingUrls ?. join ( "\n" ) ?? "" } ,
32+ values : { raw : existingUrls ?. join ( "\n" ) ?? "" } ,
3333 } ) ;
3434
3535 const onSubmit = async ( data : CorsForm ) => {
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ export const EngineIpAllowlistConfig: React.FC<
3434 const { data : engineHealthInfo } = useEngineSystemHealth ( instanceUrl ) ;
3535
3636 const form = useForm < IpForm > ( {
37- defaultValues : { raw : existingIpAllowlist ?. join ( "\n" ) ?? "" } ,
37+ values : { raw : existingIpAllowlist ?. join ( "\n" ) ?? "" } ,
3838 } ) ;
3939
4040 const onSubmit = async ( data : IpForm ) => {
You can’t perform that action at this time.
0 commit comments