Skip to content

Instantly share code, notes, and snippets.

@salemhilal
Created December 7, 2022 21:03
Show Gist options
  • Select an option

  • Save salemhilal/6c2a8831027f8c5fde18b751ad25d18c to your computer and use it in GitHub Desktop.

Select an option

Save salemhilal/6c2a8831027f8c5fde18b751ad25d18c to your computer and use it in GitHub Desktop.
diff --git a/src/components/price_plan/card/components/FeatureComponent.tsx b/src/components/price_plan/card/components/FeatureComponent.tsx
index a88d6db3..0d341e98 100644
--- a/src/components/price_plan/card/components/FeatureComponent.tsx
+++ b/src/components/price_plan/card/components/FeatureComponent.tsx
@@ -47,7 +47,9 @@ export const FeatureComponent = ({
</React.Fragment>,
);
} else {
- metadata.push(<>priceText</>);
+ metadata.push(
+ <React.Fragment key="price-text">{priceText}</React.Fragment>,
+ );
}
}
if (limit) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment