diff --git a/shared/patterns/StandardCardGroupSection/StandardCardGroupSection.tsx b/shared/patterns/StandardCardGroupSection/StandardCardGroupSection.tsx index d11c872575..b3bdbeadb3 100644 --- a/shared/patterns/StandardCardGroupSection/StandardCardGroupSection.tsx +++ b/shared/patterns/StandardCardGroupSection/StandardCardGroupSection.tsx @@ -67,7 +67,7 @@ export const StandardCardGroupSection = React.forwardRef< // Early return for empty cards array if (cards.length === 0) { if (isEnvironment("development")) { - console.warn("StandardCardGroupSection: No cards provided"); + console.error("StandardCardGroupSection: No cards provided"); } return null; } diff --git a/shared/utils/helpers.ts b/shared/utils/helpers.ts index df1dcd1284..f4a0579766 100644 --- a/shared/utils/helpers.ts +++ b/shared/utils/helpers.ts @@ -1,8 +1,4 @@ -import React, { - isValidElement, - type ReactElement, - type ReactNode, -} from "react"; +import React from "react"; /** * Valid Node.js environment values