Skip to content

Commit

Permalink
fix(react): allow carousel elements without buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
vanbasten17 committed Jul 9, 2021
1 parent 89219ca commit b58cbf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/botonic-react/src/experimental/msg-to-botonic.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ function elementsParse(elements) {
<Pic src={e.pic} />
<Title>{e.title}</Title>
<Subtitle>{e.subtitle}</Subtitle>
{buttonsParse(e.buttons)}
{e.buttons && buttonsParse(e.buttons)}
</Element>
))
}
Expand Down

0 comments on commit b58cbf2

Please sign in to comment.