Skip to content

Commit

Permalink
fix: fix broken ts imports after move lib component
Browse files Browse the repository at this point in the history
  • Loading branch information
sanua356 committed Aug 11, 2024
1 parent 7fe40bf commit c71c4a9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions src/pages/game/ui/playerActions/PlayerActions.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
import { useDispatch, useSelector } from 'react-redux';
import { toast } from 'react-toastify';

import { TGameCard } from 'entities/gameCards';
import { HatchButton } from 'entities/hatchButtons';
import { TSettingsSliceStore, useTranslates } from 'entities/settings';
import getCardSound from 'shared/assets/sounds/get_card.ogg';
import hoverSound from 'shared/assets/sounds/hover.ogg';
import nextStepSound from 'shared/assets/sounds/next_step.ogg';
import viewCardsSound from 'shared/assets/sounds/view_cards.ogg';

import { GameStatuses } from '../../lib';
import { GameStatuses, TGameCard } from '../../lib';
import {
getCard,
nextStep,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import { useSelector } from 'react-redux';

import { TGameCard } from 'entities/gameCards';
import { useTranslates } from 'entities/settings';

import { TGameCard } from '../../lib';
import { TDeskSliceStore } from '../../model';

import s from './ViewOpponentCardAmount.module.css';

export const ViewOpponentCardAmount = () => {
Expand Down
3 changes: 1 addition & 2 deletions src/pages/game/ui/viewOpponentCards/ViewOpponentCards.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@ import clsx from 'clsx';
import { ReactNode, useEffect } from 'react';
import { useDispatch, useSelector } from 'react-redux';

import { TGameCard } from 'entities/gameCards';
import { TSettingsSliceStore } from 'entities/settings';
import TShirtCard from 'shared/assets/images/tshirt.png';
import getCardSound from 'shared/assets/sounds/get_card.ogg';

import { GameStatuses } from '../../lib';
import { GameStatuses, TGameCard } from '../../lib';
import {
getCardOpponent,
opponentStop,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { useSelector } from 'react-redux';

import { TGameCard } from 'entities/gameCards';
import { useTranslates } from 'entities/settings';

import { TGameCard } from '../../lib';
import { TDeskSliceStore } from '../../model';

import s from './ViewUserCardAmount.module.css';
Expand Down

0 comments on commit c71c4a9

Please sign in to comment.