Skip to content

Commit

Permalink
Update packages/react-native-reanimated/Common/cpp/worklets/SharedIte…
Browse files Browse the repository at this point in the history
…ms/Shareables.cpp

Co-authored-by: Tomek Zawadzki <tomekzawadzki98@gmail.com>
  • Loading branch information
coado and tomekzaw authored Aug 5, 2024
1 parent 21445b5 commit 661244e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ ShareableObject::ShareableObject(
jsi::Value ShareableObject::toJSValue(jsi::Runtime &rt) {
auto obj = jsi::Object(rt);
for (size_t i = 0, size = data_.size(); i < size; i++) {
obj.setProperty(rt, jsi::String::createFromUtf8(rt, data_[i].first), data_[i].second->toJSValue(rt));
obj.setProperty(rt, jsi::String::createFromUtf8(rt, data_[i].first), data_[i].second->toJSValue(rt));
}
#if SUPPORTS_NATIVE_STATE
if (nativeState_ != nullptr) {
Expand Down

0 comments on commit 661244e

Please sign in to comment.