Skip to content

Commit

Permalink
Small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rash805115 committed Aug 3, 2024
1 parent 0855eaa commit b7f398e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions packages/plugin/src/components/ApiItem.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createContext, useMemo, useState } from 'react'
import { createContext, useMemo, useState } from 'react';
import { PageMetadata } from '@docusaurus/theme-common';
import type { Props as DocItemProps } from '@theme/DocItem';
import { useReflection, useRequiredReflection } from '../hooks/useReflection';
Expand All @@ -7,7 +7,7 @@ import type { TOCItem, TSDDeclarationReflection, TSDDeclarationReflectionMap } f
import { escapeMdx } from '../utils/helpers';
import { getKindIconHtml } from '../utils/icons';
import ApiItemLayout from './ApiItemLayout';
import ApiOptionsLayout from './ApiOptionsLayout'
import ApiOptionsLayout from './ApiOptionsLayout';
import { displayPartsToMarkdown } from './Comment';
import { Flags } from './Flags';
import { Reflection } from './Reflection';
Expand Down
4 changes: 2 additions & 2 deletions packages/plugin/src/components/ApiOptionsLayout.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useCallback, useContext } from 'react'
import { ApiOptionsContext } from './ApiItem'
import { useCallback, useContext } from 'react';
import { ApiOptionsContext } from './ApiItem';

export default function ApiOptionsLayout() {
const { hideInherited, setHideInherited } = useContext(ApiOptionsContext);
Expand Down
4 changes: 2 additions & 2 deletions packages/plugin/src/components/Member.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
// https://github.com/TypeStrong/typedoc-default-themes/blob/master/src/default/partials/members.hbs

import { Fragment, useContext } from 'react'
import { Fragment, useContext } from 'react';
import type { JSONOutput } from 'typedoc';
import { useRequiredReflection } from '../hooks/useReflection';
import { useReflectionMap } from '../hooks/useReflectionMap';
import { escapeMdx } from '../utils/helpers';
import { hasOwnDocument } from '../utils/visibility';
import { AnchorLink } from './AnchorLink';
import { ApiOptionsContext } from './ApiItem'
import { ApiOptionsContext } from './ApiItem';
import { CommentBadges, isCommentWithModifiers } from './CommentBadges';
import { Flags } from './Flags';
import { MemberDeclaration } from './MemberDeclaration';
Expand Down

0 comments on commit b7f398e

Please sign in to comment.