From c60eb2dbf46d9380611c0f9447e77dc12d4d48a4 Mon Sep 17 00:00:00 2001
From: cpathipa <119517080+cpathipa@users.noreply.github.com>
Date: Tue, 28 May 2024 21:12:30 -0500
Subject: [PATCH] PR feedback: @bnussman and @DevDW
---
.../AccessKeyLanding/AccessKeyTable/HostNameTableCell.tsx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/packages/manager/src/features/ObjectStorage/AccessKeyLanding/AccessKeyTable/HostNameTableCell.tsx b/packages/manager/src/features/ObjectStorage/AccessKeyLanding/AccessKeyTable/HostNameTableCell.tsx
index 15ea5065ce1..f9960f25f7a 100644
--- a/packages/manager/src/features/ObjectStorage/AccessKeyLanding/AccessKeyTable/HostNameTableCell.tsx
+++ b/packages/manager/src/features/ObjectStorage/AccessKeyLanding/AccessKeyTable/HostNameTableCell.tsx
@@ -28,8 +28,8 @@ export const HostNameTableCell = ({
const { regions } = storageKeyData;
- if (!regionsLookup || !regionsData || !regions.length) {
- return ;
+ if (!regionsLookup || !regionsData || regions.length === 0) {
+ return None;
}
return (