Skip to content

Commit

Permalink
fix: ts lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
YumoImer committed Nov 29, 2024
1 parent 23b72ac commit 81b282d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/useXChat/demo/suggestions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const App = () => {
request: async ({ message }, { onSuccess }) => {
await sleep();

const { content } = message;
const { content } = message || {};

onSuccess({
type: 'ai',
Expand Down

0 comments on commit 81b282d

Please sign in to comment.