You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! I noticed a potential issue within the final-code directory for trekbag:
The ButtonGroup component is not passing children to the Button component despite the Button component being written to accept the children prop (not the text prop):
Hello! I noticed a potential issue within the
final-code
directory fortrekbag
:The
ButtonGroup
component is not passing children to theButton
component despite theButton
component being written to accept thechildren
prop (not thetext
prop):Professional-React-and-Next.js-Course/trekbag/final-code/src/components/ButtonGroup.jsx
Lines 34 to 39 in 64c3b0d
This results in each Button's text not showing:

Adjusting the
ButtonGroup
component like so fixes the issue:The text was updated successfully, but these errors were encountered: