diff --git a/packages/extension-koni-ui/src/Popup/Home/Cards/ToolFiters/ToolFiltersModal.tsx b/packages/extension-koni-ui/src/Popup/Home/Cards/ToolFiters/ToolFiltersModal.tsx index 3ddf5f58d8..1900033ddd 100644 --- a/packages/extension-koni-ui/src/Popup/Home/Cards/ToolFiters/ToolFiltersModal.tsx +++ b/packages/extension-koni-ui/src/Popup/Home/Cards/ToolFiters/ToolFiltersModal.tsx @@ -193,7 +193,7 @@ const Component = ({ className, filterItems, handleCancel, handleReset, onConfir {!!options[index + 1] && checkboxContent(options[index + 1], optionLabel as FilterOption, index + 1)} ) - : <> + : null )) } @@ -234,7 +234,7 @@ export const ToolFiltersModal = styled(Component)(({ theme: { extend '.ant-checkbox-checked.ant-checkbox-checked': { backgroundImage: 'url("/images/mythical/check-selected.png")', backgroundPosition: 'center center', - backgroundSize: '100% 24px', + backgroundSize: '100% 24px' // filter: 'drop-shadow(0.97px 0.97px 0px #000)' }, diff --git a/packages/extension-koni-ui/src/Popup/Home/LeaderboardTemp/GameAccountListArea.tsx b/packages/extension-koni-ui/src/Popup/Home/LeaderboardTemp/GameAccountListArea.tsx index 7c1db4b863..adafb9a54f 100644 --- a/packages/extension-koni-ui/src/Popup/Home/LeaderboardTemp/GameAccountListArea.tsx +++ b/packages/extension-koni-ui/src/Popup/Home/LeaderboardTemp/GameAccountListArea.tsx @@ -35,8 +35,12 @@ export const GameAccountListArea = ({ isLoading, leaderboardPersonItems }: Props return []; } + const telegramAccountName = (mineAccount?.info.firstName || mineAccount?.info.lastName) + ? `${mineAccount?.info.firstName || ''} ${mineAccount?.info.lastName || ''}`.trim() + : mineAccount.info.telegramUsername; + return [{ - name: mineAccount.info.telegramUsername, + name: telegramAccountName, prefix: '---', point: 0, avatarSrc: mineAccount.info.photoUrl,