style: linting

This commit is contained in:
Tom French 2022-09-02 15:12:24 +01:00
parent 11186c9374
commit cbf1e18299
4 changed files with 5 additions and 4 deletions

View file

@ -1,4 +1,5 @@
import React, { useEffect, useReducer } from 'react';
import { useTranslation } from 'react-i18next';
import { useDispatch, useSelector } from 'react-redux';
import { useParams, useHistory } from 'react-router-dom';
@ -28,7 +29,6 @@ import SimpleTransactionsTable from '../accounts/SimpleTransactionsTable';
import { OpSelect } from '../modals/EditRule';
import { Page, usePageType } from '../Page';
import { AmountInput, BetweenAmountInput } from '../util/AmountInput';
import { useTranslation } from 'react-i18next';
function mergeFields(defaults, initial) {
let res = { ...defaults };

View file

@ -1,4 +1,5 @@
import React, { useState, useMemo } from 'react';
import { useTranslation } from 'react-i18next';
import { useSelector } from 'react-redux';
import * as monthUtils from 'loot-core/src/shared/months';
@ -24,7 +25,6 @@ import Check from 'loot-design/src/svg/v2/Check';
import DisplayId from '../util/DisplayId';
import { StatusBadge } from './StatusBadge';
import { useTranslation } from 'react-i18next';
export let ROW_HEIGHT = 43;

View file

@ -1,4 +1,5 @@
import React from 'react';
import { useTranslation } from 'react-i18next';
import { useHistory } from 'react-router-dom';
import { useSchedules } from 'loot-core/src/client/data-hooks/schedules';
@ -7,7 +8,6 @@ import { View, Button } from 'loot-design/src/components/common';
import { Page } from '../Page';
import { SchedulesTable, ROW_HEIGHT } from './SchedulesTable';
import { useTranslation } from 'react-i18next';
export default function Schedules() {
let history = useHistory();

View file

@ -1,6 +1,7 @@
import i18n from 'i18next';
import { initReactI18next } from 'react-i18next';
import i18n from 'i18next';
import enUK from './en-GB.json';
import esES from './es-ES.json';