diff options
| author | Ivan Chen <ivan@tagg.id> | 2021-06-23 17:24:27 -0400 | 
|---|---|---|
| committer | Ivan Chen <ivan@tagg.id> | 2021-06-23 17:24:27 -0400 | 
| commit | 0cce1d3044bc6d452e525c1f1554595edf5c136a (patch) | |
| tree | 9ece3c2926e8e651cab123050807e8c73b69be76 /src/screens | |
| parent | 57280e8e2a7d1c5c88dba9f74c2f1e8b5e1ef9b8 (diff) | |
Lint
Diffstat (limited to 'src/screens')
| -rw-r--r-- | src/screens/main/NotificationsScreen.tsx | 5 | ||||
| -rw-r--r-- | src/screens/onboarding/BasicInfoOnboarding.tsx | 5 | 
2 files changed, 6 insertions, 4 deletions
| diff --git a/src/screens/main/NotificationsScreen.tsx b/src/screens/main/NotificationsScreen.tsx index 03842b0a..84c15f66 100644 --- a/src/screens/main/NotificationsScreen.tsx +++ b/src/screens/main/NotificationsScreen.tsx @@ -36,8 +36,9 @@ const NotificationsScreen: React.FC = () => {    );    const [refreshing, setRefreshing] = useState(false);    // used for figuring out which ones are unread -  const [lastViewed, setLastViewed] = -    useState<moment.Moment | undefined>(undefined); +  const [lastViewed, setLastViewed] = useState<moment.Moment | undefined>( +    undefined, +  );    const {notifications} = useSelector(      (state: RootState) => state.notifications,    ); diff --git a/src/screens/onboarding/BasicInfoOnboarding.tsx b/src/screens/onboarding/BasicInfoOnboarding.tsx index d5998ac1..4c8da021 100644 --- a/src/screens/onboarding/BasicInfoOnboarding.tsx +++ b/src/screens/onboarding/BasicInfoOnboarding.tsx @@ -71,8 +71,9 @@ const BasicInfoOnboarding: React.FC<BasicInfoOnboardingProps> = ({route}) => {    const [invalidWithError, setInvalidWithError] = useState(      'Please enter a valid ',    ); -  const [autoCapitalize, setAutoCap] = -    useState<'none' | 'sentences' | 'words' | 'characters' | undefined>('none'); +  const [autoCapitalize, setAutoCap] = useState< +    'none' | 'sentences' | 'words' | 'characters' | undefined +  >('none');    const [fadeValue, setFadeValue] = useState<Animated.Value<number>>(      new Animated.Value(0),    ); | 
