Skip to content

Commit

Permalink
Fix typo (#27579)
Browse files Browse the repository at this point in the history
Summary:
Fixed typo (paramenter -> parameter) in `Libraries/Utilities/HMRClient.js`

## Changelog

[Internal] [Fixed] - Fixed typos in error messages
Pull Request resolved: #27579

Test Plan: N/A

Differential Revision: D19200542

Pulled By: hramos

fbshipit-source-id: 3e4e93f46a682f4606bf2f088d78b0d5edb55661
  • Loading branch information
jakub-gonet authored and facebook-github-bot committed Dec 20, 2019
1 parent d1e6f8d commit e2ec34d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Libraries/Utilities/HMRClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e2ec34d

Please sign in to comment.