adding some types, and do some refactor #82
lint-changed.yml
on: pull_request
Changed files ESLint check
2m 37s
Annotations
3 errors and 3 warnings
Changed files ESLint check:
src/components/Modal/ReactNativeModal/types.ts#L8
Unexpected any. Specify a different type
|
Changed files ESLint check:
src/components/Modal/ReactNativeModal/types.ts#L153
Unexpected any. Specify a different type
|
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
|