Skip to content

Commit 5bfd226

Browse files
authored
fix: result from algolia (nsdonato#117)
* fix: formatting identifier because it cant be camel case * fix: algolia search
1 parent 6518f80 commit 5bfd226

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/sidebar-menu/sidebar-details.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export const SidebarDetails = ({ name, children }: SidebarDetailProps) => {
1717
<details>
1818
<summary
1919
className={cn({
20-
'selected-menu': actualPath === name.toLowerCase(),
20+
'selected-menu': actualPath.includes(name.toLowerCase().slice(0, 5)),
2121
})}>
2222
{name}
2323
</summary>

db/extensions/chrome.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { DocPage, LinkType } from '@/lib/db-types'
22

33
const chrome: DocPage = {
4-
title: 'Extensions',
4+
title: 'Extensiones',
55
description: [
66
'Extensiones para que tu día a día con Google Chrome, sea más productivo.',
77
],

0 commit comments

Comments
 (0)