chore: correct error message typo (#918)

This commit is contained in:
Walter Korman 2025-04-08 21:37:03 -07:00 committed by GitHub
parent ccbc649317
commit 61d8653a58
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -155,7 +155,7 @@ export async function POST(request: Request) {
}); });
}, },
onError: () => { onError: () => {
return 'Oops, an error occured!'; return 'Oops, an error occurred!';
}, },
}); });
} catch (error) { } catch (error) {

View file

@ -52,7 +52,7 @@ export function Chat({
mutate(unstable_serialize(getChatHistoryPaginationKey)); mutate(unstable_serialize(getChatHistoryPaginationKey));
}, },
onError: () => { onError: () => {
toast.error('An error occured, please try again!'); toast.error('An error occurred, please try again!');
}, },
}); });