mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix small props parsing bug for filter (#44637)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/44637 Setting the wrong thing to {}. `result` should be set here just like in the other early returns. Changelog: [Internal] Reviewed By: NickGerleman Differential Revision: D57617046 fbshipit-source-id: e47dbdb7821879ffa02d11b7e68eec1c9bfbdefd
This commit is contained in:
committed by
Facebook GitHub Bot
parent
644facd19d
commit
ed3f2f40e1
@@ -833,7 +833,7 @@ inline void fromRawValue(
|
||||
filter.push_back(filterPrimitive);
|
||||
} catch (const std::exception& e) {
|
||||
LOG(ERROR) << "Could not parse FilterPrimitive: " << e.what();
|
||||
filter = {};
|
||||
result = {};
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user