Skip to content

Commit

Permalink
[docs] Fix crash due to using wrong variable (#34171)
Browse files Browse the repository at this point in the history
  • Loading branch information
siriwatknp committed Sep 2, 2022
1 parent 53f0373 commit fe5d0ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/modules/components/AppNavDrawer.js
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ export default function AppNavDrawer(props) {
])}
/>
)}
{asPathWithoutLang.startsWith('/toolpad') && (
{canonicalAs.startsWith('/toolpad/') && (
<ProductIdentifier name="Toolpad" metadata="MUI Toolpad" />
)}
</ToolbarDiv>
Expand Down

0 comments on commit fe5d0ad

Please sign in to comment.