From 6d1277065de850f1a6c1e7d1e9d03d64958829dc Mon Sep 17 00:00:00 2001 From: Adalbert Gorecki Date: Tue, 19 Jul 2016 07:17:08 -0700 Subject: [PATCH] Show the right error message in the console Summary: Just a small update to fix the error message in `Alert.js`. In my app, I'm using https://github.com/zo0r/react-native-push-notification to show local notifications. When the notification is tapped, I'm trying to show an alert with the notification text, but this results in an error (which is not the problem I'm addressing here). Unfortunately the wrong parameter was passed to the `console.warn`, so you couldn't see what the error message was. Before: bildschirmfoto 2016-07-18 um 10 50 35 bildschirmfoto 2016-07-18 um 10 50 43 After fix: bildschirmfoto 2016-07-18 um 10 50 35