Skip to content

Commit

Permalink
fix: remove conditional operator
Browse files Browse the repository at this point in the history
  • Loading branch information
DiogoSoaress committed Oct 29, 2024
1 parent b5eeca0 commit 2963ef4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Wallet/BigCardsGrid/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const BigCardsGrid = ({ items }: { items: Array<BaseBlock['items'] & { component
return (
<Container className={layoutCss.containerShort}>
<Grid container spacing={{ xs: '30px', xl: '50px' }}>
{items?.map((item, index) => {
{items.map((item, index) => {
const { component } = item

const CardComponent = getComponentByName(component, () => <></>)
Expand Down

0 comments on commit 2963ef4

Please sign in to comment.