From d66b94472711d2d85d75a1e3b314c4f4cef8616a Mon Sep 17 00:00:00 2001 From: Janic Duplessis Date: Mon, 11 Apr 2016 04:26:42 -0700 Subject: [PATCH] Fix DrawerLayoutAndroid method parameter Summary:Oups, forgot to remove a test in #6890 :) Closes https://github.com/facebook/react-native/pull/6898 Differential Revision: D3161421 Pulled By: mkonicek fb-gh-sync-id: a7e6b4f31822e67dcf1d898306851a112160d20f fbshipit-source-id: a7e6b4f31822e67dcf1d898306851a112160d20f --- .../Components/DrawerAndroid/DrawerLayoutAndroid.android.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.android.js b/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.android.js index 114442d8c..85a5ebb63 100644 --- a/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.android.js +++ b/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.android.js @@ -226,7 +226,7 @@ var DrawerLayoutAndroid = React.createClass({ /** * Opens the drawer. */ - openDrawer: function(test: number) { + openDrawer: function() { UIManager.dispatchViewManagerCommand( this._getDrawerLayoutHandle(), UIManager.AndroidDrawerLayout.Commands.openDrawer,