소스 검색

Ensure correct spelling of commandType (#2246)

Eli Perkins 7 년 전
부모
커밋
d17d26b7d7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      ios/RCCNavigationController.m

+ 1
- 1
ios/RCCNavigationController.m 파일 보기

@@ -259,7 +259,7 @@ NSString const *CALLBACK_ASSOCIATED_ID = @"RCCNavigationController.CALLBACK_ASSO
259 259
     if (!component) return;
260 260
     
261 261
     NSMutableDictionary *passProps = [actionParams[@"passProps"] mutableCopy];
262
-    passProps[@"commantType"] = @"resetTo";
262
+    passProps[@"commandType"] = @"resetTo";
263 263
     NSDictionary *navigatorStyle = actionParams[@"style"];
264 264
     
265 265
     RCCViewController *viewController = [[RCCViewController alloc] initWithComponent:component passProps:passProps navigatorStyle:navigatorStyle globalProps:nil bridge:bridge];