Skip to content

Commit

Permalink
Fix irrelevant warnings'
Browse files Browse the repository at this point in the history
  • Loading branch information
Doko-Demo-Doa committed Mar 26, 2023
1 parent 016e539 commit e0e9fac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-shake",
"version": "5.2.1",
"version": "5.3.0",
"description": "A library to detect shake event on Android and iOS",
"homepage": "https://github.com/Doko-Demo-Doa/react-native-shake",
"main": "lib/index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { NativeEventEmitter, NativeModules } from 'react-native'

const _eventEmitter = new NativeEventEmitter(NativeModules.RNShake)
const _eventEmitter = new NativeEventEmitter(NativeModules.RNShakeEvent)

export default {
addListener: (callback: () => void | undefined) => {
Expand Down

0 comments on commit e0e9fac

Please sign in to comment.