We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
my app crashes when this method is called concurrently. Here is my code:
const removeTokenFromRealm = useCallback( (walletId: string, assetId: string) => { const toDelete = realm.objects(REALM_TYPE_TOKEN).filtered('walletId = $0 AND assetId = $1', walletId, assetId);
realm.write(() => { try { console.log('to delete ', realm.delete); realm.delete(toDelete); } catch (error) { console.log('error deleting token', error); } }) }, [realm],
);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
my app crashes when this method is called concurrently. Here is my code:
const removeTokenFromRealm = useCallback(
(walletId: string, assetId: string) => {
const toDelete = realm.objects(REALM_TYPE_TOKEN).filtered('walletId = $0 AND assetId = $1', walletId, assetId);
);
The text was updated successfully, but these errors were encountered: