Skip to content

Commit 7f5ed68

Browse files
committed
fixup!
1 parent 58d2046 commit 7f5ed68

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

npm-shrinkwrap.json

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"@heroicons/react": "^2.2.0",
4444
"@minify-html/node": "^0.16.4",
4545
"@node-core/rehype-shiki": "1.3.0",
46-
"@node-core/ui-components": "^1.4.1",
46+
"@node-core/ui-components": "1.4.1",
4747
"@orama/orama": "^3.1.16",
4848
"@orama/ui": "^1.5.3",
4949
"@rollup/plugin-virtual": "^3.0.2",

src/generators/orama-db/__tests__/index.test.mjs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,17 @@ describe('buildHierarchicalTitle', () => {
1818

1919
it('should build two level hierarchy', () => {
2020
const result = buildHierarchicalTitle(mockHeadings, 1);
21-
assert.equal(result, 'Module > Class');
21+
assert.equal(result, 'Class');
2222
});
2323

2424
it('should build three level hierarchy', () => {
2525
const result = buildHierarchicalTitle(mockHeadings, 2);
26-
assert.equal(result, 'Module > Class > Method');
26+
assert.equal(result, 'Class > Method');
2727
});
2828

2929
it('should build full hierarchy', () => {
3030
const result = buildHierarchicalTitle(mockHeadings, 3);
31-
assert.equal(result, 'Module > Class > Method > Parameter');
31+
assert.equal(result, 'Class > Method > Parameter');
3232
});
3333

3434
it('should handle non-sequential depths', () => {
@@ -38,7 +38,7 @@ describe('buildHierarchicalTitle', () => {
3838
];
3939

4040
const result = buildHierarchicalTitle(headings, 1);
41-
assert.equal(result, 'Root > Deep');
41+
assert.equal(result, 'Deep');
4242
});
4343

4444
it('should handle same depth headings', () => {

src/generators/web/ui/components/NavBar.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export default () => {
1919
sidebarItemTogglerAriaLabel="Toggle navigation menu"
2020
navItems={[]}
2121
>
22-
<SearchBox theme={theme} />
22+
<SearchBox />
2323
<ThemeToggle
2424
onClick={toggleTheme}
2525
aria-label={`Switch to ${theme === 'light' ? 'dark' : 'light'} theme`}

0 commit comments

Comments
 (0)