Skip to content

Commit 078f7ee

Browse files
authored
fix: remove redirection by changing /play route to direct routing (#3269)
1 parent e5e89d2 commit 078f7ee

File tree

1 file changed

+1
-1
lines changed
  • packages/typescriptlang-org/src/components/layout

1 file changed

+1
-1
lines changed

packages/typescriptlang-org/src/components/layout/TopNav.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export const SiteNav = (props: Props) => {
104104
<li className="nav-item" role="none presentation"><IntlLink id="tab2" role="tab" to="/docs/"><span>{i("nav_documentation_short")}</span></IntlLink></li>
105105
<li className="nav-item show-only-large" role="none presentation"><IntlLink id="tab3" role="tab" to="/docs/handbook/intro.html">{i("nav_handbook")}</IntlLink></li>
106106
<li className="nav-item" role="none presentation"><IntlLink id="tab4" role="tab" to="/community">{i("nav_community")}</IntlLink></li>
107-
<li className="nav-item show-only-largest" role="none presentation"><IntlLink id="tab5" role="tab" to="/play">{i("nav_playground")}</IntlLink></li>
107+
<li className="nav-item show-only-largest" role="none presentation"><IntlLink id="tab5" role="tab" to="/play/">{i("nav_playground")}</IntlLink></li>
108108
<li className="nav-item" role="none presentation"><IntlLink id="tab6" role="tab" to="/tools">{i("nav_tools")}</IntlLink></li>
109109
</ul>
110110
</nav>

0 commit comments

Comments
 (0)