mirror of
https://github.com/pezkuwichain/pezkuwi-apps.git
synced 2026-07-17 03:05:44 +00:00
fix: resolve remaining eslint errors (key ordering and unsafe member access)
This commit is contained in:
@@ -10,10 +10,10 @@ const HASH_PATHS = ['proposal/councilmotion'];
|
||||
|
||||
export const Commonwealth: ExternalDef = {
|
||||
chains: {
|
||||
Edgeware: 'edgeware',
|
||||
Kulupu: 'kulupu',
|
||||
Dicle: 'dicle',
|
||||
'Dicle CC3': 'dicle'
|
||||
'Dicle CC3': 'dicle',
|
||||
Edgeware: 'edgeware',
|
||||
Kulupu: 'kulupu'
|
||||
},
|
||||
create: (chain: string, path: string, data: BN | number | string, hash?: string): string =>
|
||||
`https://commonwealth.im/${chain}/${path}/${HASH_PATHS.includes(path) ? (hash || '') : data.toString()}`,
|
||||
|
||||
Reference in New Issue
Block a user