We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0125e3 commit 6c37b49Copy full SHA for 6c37b49
packages/gitbook/src/components/DocumentView/Expandable/Details.tsx
@@ -1,9 +1,10 @@
1
'use client';
2
3
+import { useParams } from 'next/navigation';
4
import React from 'react';
5
6
import { ClassValue, tcls } from '@/lib/tailwind';
-import { useParams } from 'next/navigation';
7
+
8
9
function useHash() {
10
const params = useParams();
packages/gitbook/src/components/DocumentView/Expandable/Expandable.tsx
@@ -1,4 +1,4 @@
-import { DocumentBlockExpandable, DocumentBlocksEssentials } from '@gitbook/api';
+import { DocumentBlockExpandable } from '@gitbook/api';
import { Icon } from '@gitbook/icons';
import { getNodeFragmentByType } from '@/lib/document';
0 commit comments