Skip to content

Commit 2c719b4

Browse files
committed
clean up docs
1 parent 2f3c172 commit 2c719b4

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

  • apps/next-docs/content/components/SubdomainNavBar

apps/next-docs/content/components/SubdomainNavBar/index.mdx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ Search results can be a flat list or grouped by title. Do not mix both formats i
131131
Use the `labels` prop to localize search text. Any labels you omit fall back to English.
132132

133133
```jsx filename="noinline"
134-
const labels = {
134+
const searchProps = {
135135
searchLabel: 'Buscar',
136136
closeLabel: 'Cerrar',
137137
resultsLabel: 'Resultados',
@@ -141,10 +141,6 @@ const labels = {
141141
formatResultsHeading: searchTerm => `Resultados para «${searchTerm}»`,
142142
formatResultsLabel: searchTerm => `Resultados para ${searchTerm}`,
143143
formatSuggestions: count => `${count} sugerencia${count === 1 ? '' : 's'}.`,
144-
}
145-
146-
const searchProps = {
147-
labels,
148144
placeholder: 'Buscar documentación',
149145
}
150146

0 commit comments

Comments
 (0)