diff --git a/src/components/room/widgets/furniture/FurnitureHighScoreView.tsx b/src/components/room/widgets/furniture/FurnitureHighScoreView.tsx index 09fdd0e..488faa3 100644 --- a/src/components/room/widgets/furniture/FurnitureHighScoreView.tsx +++ b/src/components/room/widgets/furniture/FurnitureHighScoreView.tsx @@ -1,11 +1,10 @@ import { RoomObjectCategory } from '@nitrots/nitro-renderer'; import { FC } from 'react'; import { LocalizeText } from '../../../../api'; -import { Column, Text } from '../../../../common'; +import { Column, DraggableWindow, Text } from '../../../../common'; import { useFurnitureHighScoreWidget } from '../../../../hooks'; import { ContextMenuHeaderView } from '../context-menu/ContextMenuHeaderView'; import { ContextMenuListView } from '../context-menu/ContextMenuListView'; -import { ObjectLocationView } from '../object-location/ObjectLocationView'; export const FurnitureHighScoreView: FC<{}> = props => { @@ -18,9 +17,9 @@ export const FurnitureHighScoreView: FC<{}> = props => { Array.from(stuffDatas.entries()).map(([ objectId, stuffData ], index) => { return ( - + - + { LocalizeText('high.score.display.caption', [ 'scoretype', 'cleartype' ], [ LocalizeText(`high.score.display.scoretype.${ getScoreType(stuffData.scoreType) }`), LocalizeText(`high.score.display.cleartype.${ getClearType(stuffData.clearType) }`) ]) } @@ -52,7 +51,7 @@ export const FurnitureHighScoreView: FC<{}> = props => - + ); }) }