@prorobotech/openapi-k8s-toolkit 1.1.0-alpha.18 → 1.1.0-alpha.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9395,7 +9395,7 @@ const useK8sSmartResource = (params) => {
9395
9395
  [kindsWithVersion]
9396
9396
  );
9397
9397
  const gvr = useMemo(
9398
- () => `${(apiGroup ?? "").trim()}~${apiVersion.trim()}~${plural.trim()}`,
9398
+ () => `${(apiGroup ?? "").trim()}~${(apiVersion ?? "").trim()}~${(plural ?? "").trim()}`,
9399
9399
  [apiGroup, apiVersion, plural]
9400
9400
  );
9401
9401
  const fullApiVersion = useMemo(() => {