From 23960370c509e4fad1784df8fe16a334b2ad1b00 Mon Sep 17 00:00:00 2001
From: SanjalKatiyar
{t('Multicloud Object Gateway')}
diff --git a/packages/ocs/dashboards/object-service/status-card/status-card.tsx b/packages/ocs/dashboards/object-service/status-card/status-card.tsx
index 053db2a7b..d7bfd94bd 100644
--- a/packages/ocs/dashboards/object-service/status-card/status-card.tsx
+++ b/packages/ocs/dashboards/object-service/status-card/status-card.tsx
@@ -1,5 +1,6 @@
import * as React from 'react';
import { RGW_FLAG } from '@odf/core/features';
+import { useSafeK8sWatchResource } from '@odf/core/hooks';
import { CephObjectStoreModel } from '@odf/core/models';
import { NooBaaSystemModel } from '@odf/core/models';
import { secretResource } from '@odf/core/resources';
@@ -82,7 +83,7 @@ const StatusCard: React.FC<{}> = () => {
const { t } = useCustomTranslation();
const [secretData, secretLoaded, secretLoadError] =
- useK8sWatchResource