Skip to content

Commit

Permalink
Create react-native-reanimated+3.16.1.patch
Browse files Browse the repository at this point in the history
  • Loading branch information
lovegaoshi committed Oct 24, 2024
1 parent 03494f9 commit 49381cd
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions patches/react-native-reanimated+3.16.1.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
diff --git a/node_modules/react-native-reanimated/src/shareables.ts b/node_modules/react-native-reanimated/src/shareables.ts
index 44e961f..11bf641 100644
--- a/node_modules/react-native-reanimated/src/shareables.ts
+++ b/node_modules/react-native-reanimated/src/shareables.ts
@@ -343,11 +343,7 @@ function freezeObjectIfDev<T extends object>(value: T) {
return element;
},
set() {
- logger.warn(
- `Tried to modify key \`${key}\` of an object which has been already passed to a worklet. See
-https://docs.swmansion.com/react-native-reanimated/docs/guides/troubleshooting#tried-to-modify-key-of-an-object-which-has-been-converted-to-a-shareable
-for more details.`
- );
+
},
});
});

0 comments on commit 49381cd

Please sign in to comment.