Fix typo (#27579)
Summary: Fixed typo (paramenter -> parameter) in `Libraries/Utilities/HMRClient.js` ## Changelog [Internal] [Fixed] - Fixed typos in error messages Pull Request resolved: https://github.com/facebook/react-native/pull/27579 Test Plan: N/A Differential Revision: D19200542 Pulled By: hramos fbshipit-source-id: 3e4e93f46a682f4606bf2f088d78b0d5edb55661
This commit is contained in:
Родитель
d1e6f8d3c4
Коммит
e2ec34deea
|
@ -159,8 +159,8 @@ const HMRClient: HMRClientNativeInterface = {
|
|||
isEnabled: boolean,
|
||||
) {
|
||||
invariant(platform, 'Missing required parameter `platform`');
|
||||
invariant(bundleEntry, 'Missing required paramenter `bundleEntry`');
|
||||
invariant(host, 'Missing required paramenter `host`');
|
||||
invariant(bundleEntry, 'Missing required parameter `bundleEntry`');
|
||||
invariant(host, 'Missing required parameter `host`');
|
||||
invariant(!hmrClient, 'Cannot initialize hmrClient twice');
|
||||
|
||||
// Moving to top gives errors due to NativeModules not being initialized
|
||||
|
|
Загрузка…
Ссылка в новой задаче