Skip to content

Commit

Permalink
fix(GoalListItem): remove unused keyset
Browse files Browse the repository at this point in the history
  • Loading branch information
asabotovich committed May 30, 2023
1 parent dab6d64 commit bd77251
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 35 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,16 @@ import { gray4, textColor, gapS, gapXs, radiusM, gray9, gapSm } from '@taskany/c
import { MessageIcon, Text, Tag as TagItem, nullable } from '@taskany/bricks';
import type { Estimate, State as StateType, Tag } from '@prisma/client';

import { routes } from '../../hooks/router';
import { Priority } from '../../types/priority';
import { getPriorityText } from '../PriorityText/PriorityText';
import { ActivityByIdReturnType } from '../../../trpc/inferredTypes';
import { estimateToString } from '../../utils/estimateToString';
import { UserGroup } from '../UserGroup';
import { State } from '../State';

const RelativeTime = dynamic(() => import('../RelativeTime/RelativeTime'));
import { routes } from '../hooks/router';
import { Priority } from '../types/priority';
import { ActivityByIdReturnType } from '../../trpc/inferredTypes';
import { estimateToString } from '../utils/estimateToString';

import { getPriorityText } from './PriorityText/PriorityText';
import { UserGroup } from './UserGroup';
import { State } from './State';

const RelativeTime = dynamic(() => import('./RelativeTime/RelativeTime'));

interface GoalListItemProps {
id: string;
Expand Down
3 changes: 0 additions & 3 deletions src/components/GoalListItem/GoalListItem.i18n/en.json

This file was deleted.

17 changes: 0 additions & 17 deletions src/components/GoalListItem/GoalListItem.i18n/index.ts

This file was deleted.

3 changes: 0 additions & 3 deletions src/components/GoalListItem/GoalListItem.i18n/ru.json

This file was deleted.

2 changes: 1 addition & 1 deletion src/components/GoalsGroup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { gapM, gapS } from '@taskany/colors';
import { routes } from '../hooks/router';
import { GoalByIdReturnType } from '../../trpc/inferredTypes';

import { GoalListItem } from './GoalListItem/GoalListItem';
import { GoalListItem } from './GoalListItem';
import { PageSep } from './PageSep';
import { ProjectTitleList } from './ProjectTitleList';

Expand Down
2 changes: 1 addition & 1 deletion src/components/GoalsPage/GoalsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { Page, PageContent } from '../Page';
import { CommonHeader } from '../CommonHeader';
import { FiltersPanel } from '../FiltersPanel/FiltersPanel';
import { GoalsGroup, GoalsGroupProjectTitle } from '../GoalsGroup';
import { GoalsListContainer } from '../GoalListItem/GoalListItem';
import { GoalsListContainer } from '../GoalListItem';
import { PageTitle } from '../PageTitle';
import { Nullish } from '../../types/void';
import { trpc } from '../../utils/trpcClient';
Expand Down
2 changes: 1 addition & 1 deletion src/components/ProjectPage/ProjectPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { createFilterKeys } from '../../utils/hotkeys';
import { Nullish } from '../../types/void';
import { trpc } from '../../utils/trpcClient';
import { FilterById, GoalByIdReturnType } from '../../../trpc/inferredTypes';
import { GoalsListContainer } from '../GoalListItem/GoalListItem';
import { GoalsListContainer } from '../GoalListItem';

import { tr } from './ProjectPage.i18n';

Expand Down

0 comments on commit bd77251

Please sign in to comment.