Skip to content

Commit b6292d2

Browse files
realsoelynnfacebook-github-bot
authored andcommitted
Remove static from the local scoped variable for getConstants - part 2 (#51573)
Summary: Pull Request resolved: #51573 Changelog: [Internal] Remove unnecessary `static` in a local scoped variable. Reviewed By: RSNara Differential Revision: D75306776 fbshipit-source-id: 52decae228c65ea993bd5fde0be66ab094c8fcf1
1 parent e04ab60 commit b6292d2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/react-native/ReactCommon/react/runtime/platform/ios/ReactCommon/RCTLegacyUIManagerConstantsProvider.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
jsi::Value getConstants(facebook::jsi::Runtime &runtime)
2121
{
22-
static NSMutableDictionary<NSString *, NSObject *> *result = [NSMutableDictionary new];
22+
NSMutableDictionary<NSString *, NSObject *> *result = [NSMutableDictionary new];
2323
auto directEvents = [NSMutableDictionary new];
2424
auto bubblingEvents = [NSMutableDictionary new];
2525
for (Class moduleClass in RCTGetModuleClasses()) {

0 commit comments

Comments
 (0)