diff --git a/portal-ui/src/screens/Console/Configurations/TiersConfiguration/AddTierConfiguration.tsx b/portal-ui/src/screens/Console/Configurations/TiersConfiguration/AddTierConfiguration.tsx index 745153e11..5bbf600a3 100644 --- a/portal-ui/src/screens/Console/Configurations/TiersConfiguration/AddTierConfiguration.tsx +++ b/portal-ui/src/screens/Console/Configurations/TiersConfiguration/AddTierConfiguration.tsx @@ -294,31 +294,30 @@ const AddTierConfiguration = ({ setEndpoint(e.target.value); }} /> - {type === "s3" || - (type === "minio" && ( - - ) => { - setAccessKey(e.target.value); - }} - /> - ) => { - setSecretKey(e.target.value); - }} - /> - - ))} + {(type === "s3" || type === "minio") && ( + + ) => { + setAccessKey(e.target.value); + }} + /> + ) => { + setSecretKey(e.target.value); + }} + /> + + )} {type === "gcs" && (