Skip to content

Commit

Permalink
chore: update type
Browse files Browse the repository at this point in the history
  • Loading branch information
niels-bosman committed Oct 17, 2023
1 parent 2236da4 commit 03222b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useChatStream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type UseChatStreamResult = {
input: string;
setInput: Dispatch<SetStateAction<string>>;
handleInputChange: (event: ChangeEvent<HTMLInputElement>) => void;
handleSubmit: (event?: FormEvent<HTMLFormElement>) => void;
handleSubmit: (event?: FormEvent<HTMLFormElement>, newMessage?: string) => void;
isLoading: boolean;
}

Expand Down

0 comments on commit 03222b7

Please # to comment.