Skip to content

Commit

Permalink
fix "<h6> cannot appear as a child of <h6>" (#192)
Browse files Browse the repository at this point in the history
"Warning: validateDOMNesting(...): <h6> cannot appear as a child of <h6>."
  • Loading branch information
desmondlsl authored Aug 19, 2024
1 parent 964b3b4 commit 8c07449
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/route-board/SwipeableRoutesBoard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ const SwipeableRoutesBoard = ({
TapHereLink: (
<Typography
variant="h6"
component="span"
sx={clickableLinkSx}
onClick={() => onChangeTab("all")}
/>
Expand Down

0 comments on commit 8c07449

Please sign in to comment.