Skip to content

Commit

Permalink
Fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
OzzieOrca committed May 9, 2019
1 parent 983102d commit 5771baf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 2 additions & 3 deletions src/containers/WelcomeScreen/__tests__/WelcomeScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@ import React from 'react';

import WelcomeScreen from '..';

import { fireEvent } from 'react-native-testing-library';

import { renderWithContext, snapshotWithContext } from '../../../../testUtils';
import * as common from '../../../utils/common';
import { trackActionWithoutData } from '../../../actions/analytics';
import { ACTIONS } from '../../../constants';
import { fireEvent } from 'react-native-testing-library';

let store;

const next = jest.fn(() => ({ type: 'next' }));

Expand Down
5 changes: 3 additions & 2 deletions src/containers/WelcomeScreen/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { connect } from 'react-redux';
import { SafeAreaView } from 'react-native';
import { useTranslation } from 'react-i18next';
import { useNavigationParam } from 'react-navigation-hooks';
import { ThunkDispatch } from 'redux-thunk';

import { Flex, Text, Button } from '../../components/common';
import BottomButton from '../../components/BottomButton';
Expand All @@ -11,13 +12,13 @@ import { trackActionWithoutData } from '../../actions/analytics';
import { ACTIONS } from '../../constants';

import styles from './styles';
import { ThunkDispatch } from 'redux-thunk';

const WelcomeScreen = ({
dispatch,
next,
}: {
dispatch: ThunkDispatch<any, any, any>; // TODO: replace any
// eslint-disable-next-line @typescript-eslint/no-explicit-any
dispatch: ThunkDispatch<any, null, any>;
next: (params: { signin: boolean }) => {};
}) => {
useEffect(() => {
Expand Down

0 comments on commit 5771baf

Please sign in to comment.