If dev

If I'm not mistaken, `warning` is a no-op in production builds, so the explicit check for `if (__DEV__) {}` seems unnecessary.