Skip to content

Commit

Permalink
change location of component
Browse files Browse the repository at this point in the history
  • Loading branch information
lelemm committed Jul 30, 2024
1 parent e8cfa79 commit bd66917
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/desktop-client/src/components/ManageRules.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import { View } from './common/View';
import { RulesHeader } from './rules/RulesHeader';
import { RulesList } from './rules/RulesList';
import { SchedulesQuery } from './rules/SchedulesQuery';
import { SimpleTable } from './rules/SimpleTable';
import { SimpleTable } from './common/SimpleTable';

Check warning on line 36 in packages/desktop-client/src/components/ManageRules.tsx

View workflow job for this annotation

GitHub Actions / lint

`./common/SimpleTable` import should occur before import of `./common/Stack`

function mapValue(field, value, { payees, categories, accounts }) {
if (!value) return '';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import { Search } from '../../common/Search';
import { Stack } from '../../common/Stack';
import { Text } from '../../common/Text';
import { View } from '../../common/View';
import { SimpleTable } from '../../rules/SimpleTable';
import { SimpleTable } from '../../common/SimpleTable';

Check warning on line 33 in packages/desktop-client/src/components/admin/UserAccess/UserAccess.tsx

View workflow job for this annotation

GitHub Actions / lint

`../../common/SimpleTable` import should occur before import of `../../common/Stack`

import { UserAccessHeader } from './UserAccessHeader';
import { UserAccessRow } from './UserAccessRow';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import { Search } from '../../common/Search';
import { Stack } from '../../common/Stack';
import { Text } from '../../common/Text';
import { View } from '../../common/View';
import { SimpleTable } from '../../rules/SimpleTable';
import { SimpleTable } from '../../common/SimpleTable';

Check warning on line 29 in packages/desktop-client/src/components/admin/UserDirectory/UserDirectory.tsx

View workflow job for this annotation

GitHub Actions / lint

`../../common/SimpleTable` import should occur before import of `../../common/Stack`

import { UserDirectoryHeader } from './UserDirectoryHeader';
import { UserDirectoryRow } from './UserDirectoryRow';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import React, { type ReactNode, type UIEvent, useRef } from 'react';

import { type CSSProperties } from '../../style';

Check warning on line 4 in packages/desktop-client/src/components/common/SimpleTable.tsx

View workflow job for this annotation

GitHub Actions / lint

There should be at least one empty line between import groups
import { View } from '../common/View';
import { View } from './View';

type SimpleTableProps = {
loadMore?: () => void;
Expand Down

0 comments on commit bd66917

Please sign in to comment.