Add missing #pragma once to JsErrorHandler.h (#36964)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/36964

Changelog: [Internal]

W/o #pragma once, .cpp files would include the same header file content multiple times leading to compile errors as

```
react-native-github/packages/react-native/ReactCommon/jserrorhandler/JsErrorHandler.h:14:6: note: unguarded header; consider using #ifdef guards or #pragma once
enum JSErrorHandlerKey : uint16_t {
     ^
```

Reviewed By: shwanton

Differential Revision: D45100413

fbshipit-source-id: 9a8a03624b9475506caf1e485dc8a06a7f14c1e5
This commit is contained in:
Christoph Purrer
2023-04-19 11:28:23 -07:00
committed by Facebook GitHub Bot
parent 9789aa640f
commit 5763594cda
@@ -5,6 +5,8 @@
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <jsi/jsi.h>
#include <react/renderer/mapbuffer/MapBuffer.h>