Skip to content

Commit 29d2703

Browse files
committed
Remove duplicate nav element; fixes 1522530
1 parent 06e32d5 commit 29d2703

File tree

1 file changed

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

1 file changed

+3
-4
lines changed

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export const SiteNav = (props: Props) => {
3030

3131
// @ts-ignore - this comes from the script above
3232
docsearch({
33-
appId:"BGCDYOIYZ5",
33+
appId: "BGCDYOIYZ5",
3434
apiKey: '37ee06fa68db6aef451a490df6df7c60',
3535
indexName: 'typescriptlang',
3636
inputSelector: '.search input',
@@ -99,8 +99,7 @@ export const SiteNav = (props: Props) => {
9999

100100

101101
<div className="right above-small">
102-
103-
<nav role="navigation" className="search-section">
102+
<div className="search-section">
104103
<OpenInMyLangQuickJump />
105104
<div className="nav-item">
106105
<form id="search-form" className="search top-nav" role="search">
@@ -109,7 +108,7 @@ export const SiteNav = (props: Props) => {
109108
<input type="submit" style={{ display: "none" }} />
110109
</form>
111110
</div>
112-
</nav>
111+
</div>
113112
</div>
114113
</div>
115114

0 commit comments

Comments
 (0)