fix: Remove RCTTurboModuleBlockCopyEnabled()

This commit is contained in:
Marc Rousavy 2021-07-26 10:12:26 +02:00
parent 0569c065bc
commit d9233208a8

View File

@ -191,9 +191,5 @@ RCTResponseSenderBlock convertJSIFunctionToCallback(jsi::Runtime &runtime, const
wrapperWasCalled = YES;
};
if (RCTTurboModuleBlockCopyEnabled()) {
return [callback copy];
}
return callback;
return [callback copy];
}