Skip to content

Commit

Permalink
Update Example ⚗️
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlesMangwa committed Sep 26, 2020
1 parent 9f75fda commit f5e45f4
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
4 changes: 1 addition & 3 deletions Example/components/DemoModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,7 @@ const DemoModal: ModalComponentWithOptions<ModalComponentProp<
[],
),
)
// Should only be triggered on mount
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [])
}, [modalName])

// Type checking at work 👇
const onOpenSameModal = () =>
Expand Down
2 changes: 1 addition & 1 deletion Example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -459,4 +459,4 @@ SPEC CHECKSUMS:

PODFILE CHECKSUM: 253ef5ec89ac021822abf3bf863a1fa7d45ddcf1

COCOAPODS: 1.9.1
COCOAPODS: 1.9.3
2 changes: 1 addition & 1 deletion Example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"react": "16.11.0",
"react-native": "0.62.2",
"react-native-gesture-handler": "^1.6.1",
"react-native-modalfy": "2.0.0"
"react-native-modalfy": "2.1.0"
},
"devDependencies": {
"@babel/core": "^7.6.2",
Expand Down
8 changes: 4 additions & 4 deletions Example/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5091,10 +5091,10 @@ react-native-gesture-handler@^1.6.1:
invariant "^2.2.4"
prop-types "^15.7.2"

react-native-modalfy@2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/react-native-modalfy/-/react-native-modalfy-2.0.0.tgz#dfceaf4dd539a467286d155cb85b7d8b4f50f6c6"
integrity sha512-lwVjxn380xDHyLCTW2IQEdWELc5+TZVbLYT0ockcnsTBojG7jFVTmV/rtZeDHS72D5jJN6rxUbxrIMC+RA7T6g==
react-native-modalfy@2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/react-native-modalfy/-/react-native-modalfy-2.1.0.tgz#2b0e8a0b3963e07ed59f72f9e57e6d1eb5ec1014"
integrity sha512-GxOHBMTHkHPw9kWYbOUJ0ROXL1pkNxwir6IMmrJDIlxfGg39tNDf2FXLjuX1tOS4XqsMAFq9iAsF7ShXoncCZQ==
dependencies:
hoist-non-react-statics "^3.3.2"
react-is "^16.8.6"
Expand Down

0 comments on commit f5e45f4

Please sign in to comment.