Skip to content

Commit

Permalink
fix: remove NativeEventEmitter warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ersefuril committed Sep 24, 2024
1 parent 7ac116b commit 2d8c294
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ enum EventsName {
UserDidTakeScreenshot = 'UIApplicationUserDidTakeScreenshotNotification',
}

const detectorEventEmitter = new NativeEventEmitter(Detector);
const detectorEventEmitter = new NativeEventEmitter();

type Unsubscribe = () => void;

Expand Down

0 comments on commit 2d8c294

Please sign in to comment.