-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add new minimal connect button, connect wallet #224
base: main
Are you sure you want to change the base?
Conversation
)} | ||
</Density> | ||
{variant === 'default' ? ( | ||
<Density sparse> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggestion (non-blocking):
<Density sparse> | |
<Density variant={variant === 'default' ? 'sparse' : 'compact'}> |
Since penumbra-zone/web#1942, it is possible to provide dynamic variant
prop to Density, to not duplicate the code
{error && ( | ||
<div className='w-full h-full flex items-center justify-center'> | ||
<div className='w-[450px] h-full flex items-center justify-center'> | ||
<BlockchainError onDetailsClick={() => console.log('Details clicked')} /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
question: in the near future, this should open the dialog, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, that's the next step for this PR, I wanted a preliminary review regardless.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
fixes #212