extract mud point wallet entry component for reuse in tauri app

This commit is contained in:
2026-07-13 13:52:40 +08:00
parent 36a8719d0f
commit b7b4dd0066
9 changed files with 9 additions and 25 deletions
@@ -4235,9 +4235,6 @@ test('logged in create tab shows real wallet balance beside the brand', () => {
expect(walletEntry?.className).toContain(
'platform-mobile-create-wallet-chip',
);
expect(walletButton.querySelector('img')?.getAttribute('src')).toBe(
'/creation-home/topbar-wallet.png',
);
expect(
within(topbar as HTMLElement).getByRole('button', { name: '充值' }),
).toBeTruthy();
@@ -89,7 +89,7 @@ import { PlatformAsyncStatePanel } from '../common/PlatformAsyncStatePanel';
import { PlatformEmptyState } from '../common/PlatformEmptyState';
import { PlatformFilterToolbar } from '../common/PlatformFilterToolbar';
import { PlatformIconButton } from '../common/PlatformIconButton';
import { PlatformMudPointWalletEntry } from '../common/PlatformMudPointWalletEntry';
import { PlatformMudPointWalletEntry } from '../../../packages/shared/src/components/PlatformMudPointWalletEntry.tsx';
import { PlatformNavigableListItem } from '../common/PlatformNavigableListItem';
import { PlatformPillBadge } from '../common/PlatformPillBadge';
import {