Skip to content

Commit

Permalink
build: exclude react in the output
Browse files Browse the repository at this point in the history
  • Loading branch information
himself65 committed Nov 21, 2023
1 parent e62c02f commit 6f0968c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/chatAtoms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ import {
type Message,
nanoid
} from 'ai'
import React from 'react'
import { parseComplexResponse } from './utils/parse-complex-response'
import { isPromiseLike } from './utils'
import type { FormEvent } from 'react'

export function chatAtoms (
chatOptions: Omit<
Expand Down Expand Up @@ -398,7 +398,7 @@ export function chatAtoms (
submitAtom: atom(null, (
get,
set,
e: React.FormEvent<HTMLFormElement>,
e: FormEvent<HTMLFormElement>,
options: ChatRequestOptions = {},
metadata?: Object
) => {
Expand Down

0 comments on commit 6f0968c

Please sign in to comment.