Skip to content

Fix: Prevent crash when stop function is undefined #1

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

seer-by-sentry[bot]
Copy link

Fixes AMAZON-CLONE-3. The issue was that: The stop function was undefined in TouchableOpacity's onPress handler due to a race condition or stale closure during component rendering.

  • Added optional chaining to the stop function call in Rufus.tsx and VapiOverlay.tsx to prevent crashes when the stop function is undefined.

This fix was generated by Seer in Sentry, triggered by Simon. 👁️ Run ID: 174172

Not quite right? Click here to continue debugging with Seer.

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.

0 participants