mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-31 23:40:39 +02:00
refactor(theme-common): move useDocsPreferredVersion() to public api (#7729)
This commit is contained in:
parent
8a72b769b1
commit
bc0538f6fa
4 changed files with 5 additions and 6 deletions
|
@ -12,7 +12,7 @@ import React, {
|
|||
useRef,
|
||||
type ReactNode,
|
||||
} from 'react';
|
||||
import {useDocsPreferredVersion} from '@docusaurus/theme-common/internal';
|
||||
import {useDocsPreferredVersion} from '@docusaurus/theme-common';
|
||||
import {useVersions} from '@docusaurus/plugin-content-docs/client';
|
||||
import Translate from '@docusaurus/Translate';
|
||||
import CodeBlock from '@theme/CodeBlock';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue