Skip to content

Commit

Permalink
fix(react-client): import React not just type
Browse files Browse the repository at this point in the history
  • Loading branch information
matijagaspar committed Nov 20, 2024
1 parent 31b36be commit 1f52a4a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@oramacloud/oramacloud-monorepo",
"version": "2.0.0",
"version": "2.0.1",
"description": "Orama SDK for Node.js, Deno, and Browsers",
"type": "module",
"sideEffects": false,
Expand Down
3 changes: 2 additions & 1 deletion packages/react-client/src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// biome-ignore lint/style/useImportType: using import type causes issues
import React from 'react'
import type { AnyDocument, Nullable, Results } from '@orama/orama'
import { type ClientSearchParams, OramaClient } from '@oramacloud/client'
import type React from 'react'
import { createContext, useContext, useEffect, useState } from 'react'

export { useAnswerSession } from './useAnswerSession.jsx'
Expand Down

0 comments on commit 1f52a4a

Please sign in to comment.