Skip to content

Commit

Permalink
refactor: apply lint autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber authored and github-actions[bot] committed Jul 10, 2024
1 parent b3bf31e commit 494fb8e
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import React from 'react';
import {
useVersions,
useActiveDocContext
useActiveDocContext,
} from '@docusaurus/plugin-content-docs/client';
import {useDocsPreferredVersion} from '@docusaurus/theme-common';
import {useDocsVersionCandidates} from '@docusaurus/theme-common/internal';
Expand All @@ -18,9 +18,11 @@ import DefaultNavbarItem from '@theme/NavbarItem/DefaultNavbarItem';
import DropdownNavbarItem from '@theme/NavbarItem/DropdownNavbarItem';
import type {Props} from '@theme/NavbarItem/DocsVersionDropdownNavbarItem';
import type {LinkLikeNavbarItemProps} from '@theme/NavbarItem';
import type {GlobalVersion,
import type {
GlobalVersion,
GlobalDoc,
ActiveDocContext} from '@docusaurus/plugin-content-docs/client';
ActiveDocContext,
} from '@docusaurus/plugin-content-docs/client';

function getVersionMainDoc(version: GlobalVersion): GlobalDoc {
return version.docs.find((doc) => doc.id === version.mainDocId)!;
Expand Down

0 comments on commit 494fb8e

Please sign in to comment.