diff --git a/src/components/Wallet/FeatureCards/index.tsx b/src/components/Wallet/FeatureCards/index.tsx index 682846a0..8d4d5074 100644 --- a/src/components/Wallet/FeatureCards/index.tsx +++ b/src/components/Wallet/FeatureCards/index.tsx @@ -31,7 +31,8 @@ type FeatureCardsProps = Omit & { const FeatureCards = ({ title, text, items = [] }: FeatureCardsProps) => { // extract the last item from the array - const [lastItem, ...restItems] = [...items].reverse() + const lastItem = items[items.length - 1] + const restItems = items.slice(0, -1) return ( @@ -46,7 +47,7 @@ const FeatureCards = ({ title, text, items = [] }: FeatureCardsProps) => { - {restItems.reverse().map((item, index) => { + {restItems.map((item, index) => { if (item.fullWidth) { return (