fix: remove return value
This commit is contained in:
parent
b38da3afba
commit
8efff67aed
@ -197,7 +197,7 @@ const removeListener: CaptureProtectionFunction['removeListener'] = async (
|
||||
console.warn(
|
||||
`[react-native-capture-protection] Platform ${Platform.OS} not supported`
|
||||
);
|
||||
return undefined;
|
||||
return;
|
||||
}
|
||||
if (emitter) {
|
||||
emitter.remove();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user