mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
style(console): hide button title when loading (#6602)
This commit is contained in:
parent
8e5127f90b
commit
5ddb64d8cd
1 changed files with 1 additions and 8 deletions
|
@ -95,14 +95,7 @@ function Button(
|
|||
>
|
||||
{showSpinner && <Spinner className={styles.spinner} />}
|
||||
{icon && <span className={styles.icon}>{icon}</span>}
|
||||
{title &&
|
||||
(typeof title === 'string' ? (
|
||||
<span>
|
||||
<DynamicT forKey={title} />
|
||||
</span>
|
||||
) : (
|
||||
title
|
||||
))}
|
||||
{title && <span>{typeof title === 'string' ? <DynamicT forKey={title} /> : title}</span>}
|
||||
{trailingIcon && <span className={styles.trailingIcon}>{trailingIcon}</span>}
|
||||
</button>
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue