adding some types, and do some refactor #83
lint-changed.yml
on: pull_request
Changed files ESLint check
2m 32s
Annotations
2 errors and 3 warnings
Changed files ESLint check:
src/components/Modal/ReactNativeModal/panHandlers.ts#L4
'ModalProps' is defined but never used
|
Changed files ESLint check
Process completed with exit code 1.
|
Changed files ESLint check:
src/components/Modal/BaseModal.tsx#L65
Prefer using `shouldUseNarrowLayout` instead of `isSmallScreenWidth` from `useResponsiveLayout`
|
Changed files ESLint check:
src/components/Modal/ReactNativeModal/Container.tsx#L33
React Hook useEffect has a missing dependency: 'translateY'. Either include it or remove the dependency array
|
Changed files ESLint check:
src/components/Modal/ReactNativeModal/Modal.tsx#L196
React Hook useEffect has missing dependencies: 'close', 'isTransitioning', and 'open'. Either include them or remove the dependency array
|