chore: correct error message typo (#918)
This commit is contained in:
parent
ccbc649317
commit
61d8653a58
2 changed files with 2 additions and 2 deletions
|
|
@ -155,7 +155,7 @@ export async function POST(request: Request) {
|
|||
});
|
||||
},
|
||||
onError: () => {
|
||||
return 'Oops, an error occured!';
|
||||
return 'Oops, an error occurred!';
|
||||
},
|
||||
});
|
||||
} catch (error) {
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ export function Chat({
|
|||
mutate(unstable_serialize(getChatHistoryPaginationKey));
|
||||
},
|
||||
onError: () => {
|
||||
toast.error('An error occured, please try again!');
|
||||
toast.error('An error occurred, please try again!');
|
||||
},
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue