Skip to content

Commit b638f13

Browse files
committed
fix: the text for each Button now displays
1 parent 64c3b0d commit b638f13

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

trekbag/final-code/src/components/ButtonGroup.jsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,9 @@ export default function ButtonGroup() {
3333
{secondaryButtons.map((button) => (
3434
<Button
3535
key={button.text + button.onClick.toString()}
36-
text={button.text}
3736
onClick={button.onClick}
3837
buttonType="secondary"
39-
/>
38+
>{button.text}</Button>
4039
))}
4140
</section>
4241
);

0 commit comments

Comments
 (0)