Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix types in function calling example #89

Merged
merged 3 commits into from
Aug 29, 2024
Merged

fix types in function calling example #89

merged 3 commits into from
Aug 29, 2024

Conversation

zachkrall
Copy link
Member

@zachkrall zachkrall commented Aug 29, 2024

  • removes type casting, replacing it with the send.success and send.error utilities from the React SDK.
  • removes widened message type so that message.type will always be "function"
  • removes throw statement since component isn't wrapped in <ErrorBoundary>
  • adds .nvmrc file
  • adds error.tsx

@zachkrall zachkrall enabled auto-merge (squash) August 29, 2024 21:03
@zachkrall zachkrall merged commit 4558d75 into main Aug 29, 2024
1 check passed
@zachkrall zachkrall deleted the zach/fix-types branch August 29, 2024 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants