Skip to content

Commit 8482ad7

Browse files
authored
fix: nft data and chain issues (#12215)
1 parent 32e7b98 commit 8482ad7

File tree

29 files changed

+67
-55
lines changed

29 files changed

+67
-55
lines changed

packages/mask/dashboard/components/SecondaryButton/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const useStyles = makeStyles()((theme) => ({
1313
color: theme.palette.maskColor.main,
1414
border: 'none!important',
1515
fontWeight: 700,
16+
borderRadius: 999,
1617
['&:hover']: {
1718
background: theme.palette.maskColor.bottom,
1819
boxShadow: '0px 8px 25px rgba(0, 0, 0, 0.1)',

packages/mask/dashboard/pages/CreateMaskWallet/AddDeriveWallet/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@ export const Component = memo(function AddDeriveWallet() {
236236

237237
<SetupFrameController>
238238
<PrimaryButton
239+
variant="roundedContained"
239240
loading={confirmLoading}
240241
disabled={disabled}
241242
className={classes.bold}

packages/mask/dashboard/pages/CreateMaskWallet/CreateMnemonic/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,7 @@ const VerifyMnemonicUI = memo<VerifyMnemonicUIProps>(function VerifyMnemonicUI({
348348
<Trans>Back</Trans>
349349
</SecondaryButton>
350350
<PrimaryButton
351+
variant="roundedContained"
351352
className={classes.bold}
352353
width="125px"
353354
disabled={loading || Object.entries(puzzleAnswer).length !== 3}
@@ -445,6 +446,7 @@ const CreateMnemonicUI = memo<CreateMnemonicUIProps>(function CreateMnemonicUI({
445446
</Alert>
446447
<SetupFrameController>
447448
<PrimaryButton
449+
variant="roundedContained"
448450
className={cx(classes.bold, classes.button)}
449451
width="125px"
450452
size="large"

packages/mask/dashboard/pages/CreateMaskWallet/CreateWalletForm/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ export const Component = memo(function CreateWalletForm() {
164164
</form>
165165
<SetupFrameController>
166166
<PrimaryButton
167+
variant="roundedContained"
167168
width="125px"
168169
size="large"
169170
color="primary"

packages/mask/dashboard/pages/CreateMaskWallet/Onboarding/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export const Component = memo(function Onboarding() {
110110
<OnboardingWriter sentence={sentence} />
111111
</Box>
112112
<SetupFrameController>
113-
<PrimaryButton onClick={onOpenPopupWallet} size="large" width={'228px'}>
113+
<PrimaryButton variant="roundedContained" onClick={onOpenPopupWallet} size="large" width={'228px'}>
114114
<Typography fontWeight={700}>
115115
<Trans>Got it</Trans>
116116
</Typography>

packages/mask/dashboard/pages/SetupPersona/Mnemonic/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ export const Component = memo(function SignUpMnemonic() {
203203

204204
<SetupFrameController>
205205
<PrimaryButton
206+
variant="roundedContained"
206207
width="125px"
207208
size="large"
208209
color="primary"

packages/mask/dashboard/pages/SetupPersona/Onboarding/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ export const Component = memo(function Onboarding() {
167167
</Box>
168168
<SetupFrameController>
169169
<PrimaryButton
170+
variant="roundedContained"
170171
onClick={onSetupTwitter}
171172
size="large"
172173
startIcon={
@@ -180,6 +181,7 @@ export const Component = memo(function Onboarding() {
180181
</PrimaryButton>
181182
{!isCreate && count && !isZero(count) ?
182183
<PrimaryButton
184+
variant="roundedContained"
183185
loading={loading}
184186
disabled={loading}
185187
onClick={onSetupPaymentPassword}

packages/mask/dashboard/pages/SetupPersona/PermissionOnboarding/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ export const Component = memo(function Onboarding() {
137137
</Box>
138138
<SetupFrameController>
139139
<PrimaryButton
140+
variant="roundedContained"
140141
onClick={onSetupTwitter}
141142
size="large"
142143
startIcon={

packages/mask/dashboard/pages/SetupPersona/Permissions/index.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,12 @@ export const Component = memo(function Permission() {
128128
<SecondaryButton width="125px" size="large" onClick={() => window.close()}>
129129
<Trans>Cancel</Trans>
130130
</SecondaryButton>
131-
<PrimaryButton width="125px" size="large" color="primary" onClick={handleAgree}>
131+
<PrimaryButton
132+
variant="roundedContained"
133+
width="125px"
134+
size="large"
135+
color="primary"
136+
onClick={handleAgree}>
132137
<Trans>Agree</Trans>
133138
</PrimaryButton>
134139
</div>

packages/mask/dashboard/pages/SetupPersona/SignUp/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ export const Component = memo(function SignUp() {
120120
<Trans>Skip</Trans>
121121
</SecondaryButton>
122122
<PrimaryButton
123+
variant="roundedContained"
123124
width="125px"
124125
size="large"
125126
onClick={() => onNext()}

0 commit comments

Comments
 (0)