From 1c7390f0771754cda5e19613213f8ff9ccb85ca1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?An=20Nguy=E1=BB=85n=20Ph=C6=B0=E1=BB=9Bc?= <31690470+phuocantd@users.noreply.github.com> Date: Thu, 23 Mar 2023 10:12:31 +0700 Subject: [PATCH] Update index.tsx --- src/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.tsx b/src/index.tsx index 9c8ca3f..cd7540a 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -6,7 +6,7 @@ enum EventsName { UserDidTakeScreenshot = 'UIApplicationUserDidTakeScreenshotNotification', } -const detectorEventEmitter = new NativeEventEmitter(Detector); +const detectorEventEmitter = new NativeEventEmitter(); type Unsubscribe = () => void;