From 4879f88a75204588fbe461ab43f8cd50a09dd707 Mon Sep 17 00:00:00 2001 From: taelimoh Date: Thu, 26 May 2016 01:37:09 -0700 Subject: [PATCH] change undeclared variable to intended value Summary: Thanks for submitting a pull request! Please provide enough information so that others can review your pull request: (You can skip this if you're fixing a typo or adding an app to the Showcase.) Explain the **motivation** for making this change. What existing problem does the pull request solve? Prefer **small pull requests**. These are much easier to review and more likely to get merged. Make sure the PR does only one thing, otherwise please split it. **Test plan (required)** Demonstrate the code is solid. Example: The exact commands you ran and their output, screenshots / videos if the pull request changes UI. Make sure tests pass on both Travis and Circle CI. **Code formatting** Look around. Match the style of the rest of the codebase. See also the simple [style guide](https://github.com/facebook/react-native/blob/master/CONTRIBUTING.md#style-guide). For more info, see the ["Pull Requests" section of our "Contributing" guidelines](https://github.com/facebook/react-native/blob/mas Closes https://github.com/facebook/react-native/pull/7770 Differential Revision: D3352007 fbshipit-source-id: eedb964d245445b61fed79245380f0803473c455 --- Libraries/Storage/AsyncStorage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/Storage/AsyncStorage.js b/Libraries/Storage/AsyncStorage.js index 48b9f59bc39..01d76748d86 100644 --- a/Libraries/Storage/AsyncStorage.js +++ b/Libraries/Storage/AsyncStorage.js @@ -122,7 +122,7 @@ var AsyncStorage = { * traits: {eyes: 'blue', shoe_size: 10} * }; - * AsyncStorage.setItem(store_key, JSON.stringify(UID123_object), () => { + * AsyncStorage.setItem('UID123', JSON.stringify(UID123_object), () => { * AsyncStorage.mergeItem('UID123', JSON.stringify(UID123_delta), () => { * AsyncStorage.getItem('UID123', (err, result) => { * console.log(result);