diff --git a/cspell.json b/cspell.json index 28e4e04fbc54..4dbe240d7ac5 100644 --- a/cspell.json +++ b/cspell.json @@ -286,6 +286,7 @@ "redpackets", "renfil", "shapeclip", + "ssrb", "steth", "swaptoken", "testweb", diff --git a/packages/mask/src/components/InjectedComponents/ToolboxUnstyled.tsx b/packages/mask/src/components/InjectedComponents/ToolboxUnstyled.tsx index 106098381aeb..6a2593c93cca 100644 --- a/packages/mask/src/components/InjectedComponents/ToolboxUnstyled.tsx +++ b/packages/mask/src/components/InjectedComponents/ToolboxUnstyled.tsx @@ -91,6 +91,7 @@ export function ToolboxHintUnstyled(props: ToolboxHintProps) { function ToolboxHintForApplication(props: ToolboxHintProps) { const { ListItemButton = MuiListItemButton, + ListItemIcon = MuiListItemIcon, Container = 'div', Typography = MuiTypography, iconSize = 24, @@ -104,7 +105,9 @@ function ToolboxHintForApplication(props: ToolboxHintProps) { - + + + {mini ? null : ( ('init') - const completeClass = classNames(classes.success, b.className) - const failClass = classNames(classes.failed, b.className) + const basicClass = classNames(classes.button, b.className) + const completeClass = classNames(basicClass, classes.success) + const failClass = classNames(basicClass, classes.failed) const run = () => { setState('wait') @@ -144,7 +145,16 @@ export function ActionButtonPromise(props: ActionButtonPromiseProps) { }, [executor, noUpdateEffect]) if (state === 'wait') - return