Pre migration adjustments (#506)

* fix: added close button to accountDetails

* fix: fixed the AccountList to load async

* fix: fixed the heart size on the AccountStats

* fix: added AccountDetails loading state

* feat: added migration banner

* fix: fixed tests
This commit is contained in:
Linkie Link
2023-09-25 20:17:43 +02:00
committed by GitHub
parent d0ce3eea45
commit cfd7fb3073
33 changed files with 409 additions and 275 deletions
+4 -2
View File
@@ -6,6 +6,8 @@ import Text from 'components/Text'
interface Props {
enableKeyPress?: boolean
hideText?: boolean
className?: string
onClick: () => void
}
@@ -34,10 +36,10 @@ export default function EscButton(props: Props) {
leftIcon={<Cross />}
iconClassName='w-3'
color='tertiary'
className='h-3 w-13'
className={props.className ? props.className : 'h-3 w-13'}
size='xs'
>
<Text size='2xs'>ESC</Text>
{!props.hideText && <Text size='2xs'>ESC</Text>}
</Button>
)
}