Skip to content

Commit 3e7fdf3

Browse files
retyuiKrzysztof Borowy
authored and
Krzysztof Borowy
committed
fix: warning for multiRemove (#268)
1 parent afb208b commit 3e7fdf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/AsyncStorage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ const AsyncStorage = {
353353
callback?: ?(errors: ?$ReadOnlyArray<?Error>) => void,
354354
): Promise<null> {
355355
return new Promise((resolve, reject) => {
356-
keys.forEach(checkValidInput);
356+
keys.forEach(key => checkValidInput(key));
357357

358358
RCTAsyncStorage.multiRemove(keys, function(errors) {
359359
const error = convertErrors(errors);

0 commit comments

Comments
 (0)