Skip to content

Commit fb35f69

Browse files
committed
fix
1 parent faabae2 commit fb35f69

File tree

2 files changed

+10
-25
lines changed

2 files changed

+10
-25
lines changed

packages/neuron-ui/src/widgets/Dialog/dialog.module.scss

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,11 @@
55
padding: 0;
66
position: relative;
77

8-
/* 對話框背景遮罩 */
98
&::backdrop {
109
@include overlay;
1110
}
1211
}
1312

14-
/* 對話框頭部 */
1513
.header {
1614
position: -webkit-sticky;
1715
position: sticky;
@@ -47,20 +45,17 @@
4745
}
4846
}
4947

50-
/* 對話框內容區域 */
5148
.content {
5249
padding: 20px 16px;
5350
position: relative;
5451
max-height: calc(100vh - 260px);
5552
overflow-y: auto;
5653

57-
/* 隱藏滾動條但保持滾動功能 */
5854
&::-webkit-scrollbar {
5955
width: 0;
6056
}
6157
}
6258

63-
/* 對話框底部區域 */
6459
.footerWrap {
6560
height: 104px;
6661
}

packages/neuron-wallet/src/controllers/multisig.ts

Lines changed: 10 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -20,30 +20,20 @@ import MultisigConfigDbChangedSubject from '../models/subjects/multisig-config-d
2020
import { LightRPC } from '../utils/ckb-rpc'
2121
import SyncProgressService from '../services/sync-progress'
2222

23+
interface MultisigConfigItem {
24+
sighash_addresses: string[]
25+
require_first_n: number
26+
threshold: number
27+
alias?: string | string[]
28+
lockCodeHash: string | string[]
29+
}
30+
2331
interface MultisigConfigOutput {
24-
multisig_configs: Record<
25-
string,
26-
{
27-
sighash_addresses: string[]
28-
require_first_n: number
29-
threshold: number
30-
alias?: string | string[]
31-
lockCodeHash: string | string[]
32-
}
33-
>
32+
multisig_configs: Record<string, MultisigConfigItem>
3433
}
3534

3635
interface MultisigConfigInput {
37-
multisig_configs: Record<
38-
string,
39-
{
40-
sighash_addresses: string[]
41-
require_first_n: number
42-
threshold: number
43-
alias?: string
44-
lockCodeHash?: string | string[]
45-
}
46-
>
36+
multisig_configs: Record<string, Omit<MultisigConfigItem, 'lockCodeHash'> & { lockCodeHash?: string | string[] }>
4737
}
4838

4939
const validateImportConfig = (configOutput: MultisigConfigInput) => {

0 commit comments

Comments
 (0)