Skip to content

Commit

Permalink
Update imports
Browse files Browse the repository at this point in the history
  • Loading branch information
ptgott committed Oct 24, 2024
1 parent 5d1cd4a commit 906ad68
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/components/Search/InkeepSearch.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { useState, useRef, useCallback, useEffect } from "react";
import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
import BrowserOnly from "@docusaurus/BrowserOnly";
import { useDocsVersion } from "@docusaurus/theme-common/internal";
import { useDocsVersion } from "@docusaurus/plugin-content-docs/client";
import {
type InkeepAIChatSettings,
type InkeepSearchSettings,
Expand Down
2 changes: 1 addition & 1 deletion src/theme/DocItem/Layout/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from "react";
import clsx from "clsx";
import { useWindowSize } from "@docusaurus/theme-common";
import { useDoc } from "@docusaurus/theme-common/internal";
import { useDoc } from "@docusaurus/plugin-content-docs/client";
import DocItemPaginator from "@theme/DocItem/Paginator";
import DocVersionBanner from "@theme/DocVersionBanner";
import DocVersionBadge from "@theme/DocVersionBadge";
Expand Down
2 changes: 1 addition & 1 deletion src/theme/DocItem/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import { HtmlClassNameProvider } from "@docusaurus/theme-common";
import { DocProvider } from "@docusaurus/theme-common/internal";
import { DocProvider } from "@docusaurus/plugin-content-docs/client";
import DocItemMetadata from "@theme/DocItem/Metadata";
import DocItemLayout from "@theme/DocItem/Layout";
import type { Props } from "@theme/DocItem";
Expand Down
6 changes: 2 additions & 4 deletions src/theme/DocVersionBanner/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@ import {
type GlobalVersion,
} from "@docusaurus/plugin-content-docs/client";
import { ThemeClassNames } from "@docusaurus/theme-common";
import {
useDocsPreferredVersion,
useDocsVersion,
} from "@docusaurus/theme-common/internal";
import { useDocsPreferredVersion } from "@docusaurus/theme-common/internal";
import { useDocsVersion } from "@docusaurus/plugin-content-docs/client";
import type { Props } from "@theme/DocVersionBanner";
import type {
VersionBanner,
Expand Down

0 comments on commit 906ad68

Please sign in to comment.