mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
feat: move icon to right
This commit is contained in:
1 parent
a7f68364f3
commit
499bcde320
2 files changed
+3
-4
No files matched your search
@@ -30,6 +30,8 @@ export function Header() {
|
||||
minWidth="0px"
|
||||
>
|
||||
<Flex align="center" gap="1">
|
||||
{tankPerformanceSortTypeNames[type]}
|
||||
|
||||
<IconButton
|
||||
size={isSelected ? '1' : '2'}
|
||||
variant={isSelected ? 'soft' : 'ghost'}
|
||||
@@ -53,7 +55,6 @@ export function Header() {
|
||||
</>
|
||||
)}
|
||||
</IconButton>
|
||||
{tankPerformanceSortTypeNames[type]}
|
||||
</Flex>
|
||||
</Table.ColumnHeaderCell>
|
||||
);
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import { Table } from '@radix-ui/themes';
|
||||
import { memo, use, useCallback } from 'react';
|
||||
import { memo, useCallback } from 'react';
|
||||
import {
|
||||
averageDefinitions,
|
||||
AverageDefinitionsAllStats,
|
||||
AverageDefinitionsEntryWithId,
|
||||
} from '../../../../core/blitzkit/averageDefinitions';
|
||||
@@ -13,7 +12,6 @@ interface TotalProps {
|
||||
|
||||
export const Total = memo<TotalProps>(
|
||||
({ tanks }) => {
|
||||
const awaitedAverageDefinitions = use(averageDefinitions);
|
||||
const ratio = useAveragesExclusionRatio();
|
||||
const numberFormat = Intl.NumberFormat(undefined, { notation: 'compact' });
|
||||
const sum = useCallback(
|
||||
|
||||
Reference in new issue
Block a user