Commit 00e07a7 1 parent 9a28e25 commit 00e07a7 Copy full SHA for 00e07a7
File tree 4 files changed +4
-4
lines changed
4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -8,10 +8,10 @@ import {
8
8
import type { ReactNode } from 'react' ;
9
9
import type React from 'react' ;
10
10
import { useCallback , useState } from 'react' ;
11
+ import type { Account } from '../../../../common/account/types.js' ;
11
12
import { useRemoveAccount , useSaveAccount } from '../../../hooks/accounts.jsx' ;
12
13
import { useShowSidebarCharacters } from '../../../hooks/sidebar.jsx' ;
13
14
import { runInBackground } from '../../../lib/async/run-in-background.js' ;
14
- import type { Account } from '../../../types/game.types.js' ;
15
15
import type { ModalAddAccountConfirmData } from './modal-add-account.jsx' ;
16
16
import { ModalAddAccount } from './modal-add-account.jsx' ;
17
17
import { ModalEditAccount } from './modal-edit-account.jsx' ;
Original file line number Diff line number Diff line change 8
8
} from '@elastic/eui' ;
9
9
import type { ReactNode } from 'react' ;
10
10
import { memo , useMemo } from 'react' ;
11
+ import type { Account } from '../../../../common/account/types.js' ;
11
12
import { useListAccounts } from '../../../hooks/accounts.jsx' ;
12
- import type { Account } from '../../../types/game.types.js' ;
13
13
14
14
export interface TableListAccountsProps {
15
15
onEditAccountClick : ( account : Account ) => void ;
Original file line number Diff line number Diff line change 8
8
import isEqual from 'lodash-es/isEqual.js' ;
9
9
import type { ReactNode } from 'react' ;
10
10
import { useCallback , useState } from 'react' ;
11
+ import type { Character } from '../../../../common/account/types.js' ;
11
12
import {
12
13
usePlayCharacter ,
13
14
useQuitCharacter ,
@@ -16,7 +17,6 @@ import {
16
17
} from '../../../hooks/characters.jsx' ;
17
18
import { useShowSidebarAccounts } from '../../../hooks/sidebar.jsx' ;
18
19
import { runInBackground } from '../../../lib/async/run-in-background.js' ;
19
- import type { Character } from '../../../types/game.types.js' ;
20
20
import { TableListCharacters } from '../characters/table-list-characters.jsx' ;
21
21
import type { ModalAddCharacterConfirmData } from './modal-add-character.jsx' ;
22
22
import { ModalAddCharacter } from './modal-add-character.jsx' ;
Original file line number Diff line number Diff line change @@ -13,12 +13,12 @@ import isEqual from 'lodash-es/isEqual.js';
13
13
import isNil from 'lodash-es/isNil.js' ;
14
14
import type { ReactElement , ReactNode } from 'react' ;
15
15
import { Fragment , memo , useMemo } from 'react' ;
16
+ import type { Character } from '../../../../common/account/types.js' ;
16
17
import {
17
18
useListCharacters ,
18
19
usePlayingCharacter ,
19
20
} from '../../../hooks/characters.jsx' ;
20
21
import { GameCodeLabels } from '../../../lib/game/game-code-labels.js' ;
21
- import type { Character } from '../../../types/game.types.js' ;
22
22
23
23
interface TableByGameCode {
24
24
gameCode : string ; // e.g. 'DR'
You can’t perform that action at this time.
0 commit comments