diff --git a/Libraries/Interaction/FrameRateLogger.js b/Libraries/Interaction/FrameRateLogger.js index 8f8a2837f9..7c1e83c3cc 100644 --- a/Libraries/Interaction/FrameRateLogger.js +++ b/Libraries/Interaction/FrameRateLogger.js @@ -46,15 +46,11 @@ const FrameRateLogger = { ); } if (NativeModules.FrameRateLogger) { - // Freeze the object to avoid the prepack warning (PP0017) about leaking - // unfrozen objects. // Needs to clone the object first to avoid modifying the argument. const optionsClone = { debug: !!options.debug, reportStackTraces: !!options.reportStackTraces, }; - Object.freeze(optionsClone); - Object.seal(optionsClone); NativeModules.FrameRateLogger.setGlobalOptions(optionsClone); } },