Skip to content

Commit

Permalink
nextra package rename
Browse files Browse the repository at this point in the history
  • Loading branch information
szabinakov committed Feb 8, 2024
1 parent 6b408dd commit 79a4e26
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/nextra-theme-docs/src/components/flexsearch.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import type { SearchData } from '@charisma-ai/nextra'
import cn from 'clsx'
// flexsearch types are incorrect, they were overwritten in tsconfig.json
import FlexSearch from 'flexsearch'
import { useRouter } from 'next/router'
import type { SearchData } from 'nextra'
import type { ReactElement, ReactNode } from 'react'
import { useCallback, useState } from 'react'
import { DEFAULT_LOCALE } from '../constants'
Expand Down
2 changes: 1 addition & 1 deletion packages/nextra-theme-docs/src/components/toc.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Heading } from '@charisma-ai/nextra'
import cn from 'clsx'
import type { Heading } from 'nextra'
import type { ReactElement } from 'react'
import { useEffect, useMemo, useRef } from 'react'
import scrollIntoView from 'scroll-into-view-if-needed'
Expand Down
2 changes: 1 addition & 1 deletion packages/nextra-theme-docs/src/types.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint typescript-sort-keys/interface: error */
import type { PageOpts } from 'nextra'
import type { PageOpts } from '@charisma-ai/nextra'
import type { ReactNode } from 'react'
import type { DocsThemeConfig } from './constants'

Expand Down

0 comments on commit 79a4e26

Please sign in to comment.