File tree Expand file tree Collapse file tree 2 files changed +19
-8
lines changed Expand file tree Collapse file tree 2 files changed +19
-8
lines changed Original file line number Diff line number Diff line change @@ -9,14 +9,16 @@ import {
9
9
10
10
const { Option } = Select
11
11
12
- const chainOptions = references . map ( reference => (
13
- < Option
14
- key = { `${ reference . namespaceId } :${ reference . id } ` }
15
- value = { `${ reference . namespaceId } :${ reference . id } ` }
16
- >
17
- { reference . name }
18
- </ Option >
19
- ) )
12
+ const chainOptions = references
13
+ . filter ( reference => ! reference ?. deprecated )
14
+ . map ( reference => (
15
+ < Option
16
+ key = { `${ reference . namespaceId } :${ reference . id } ` }
17
+ value = { `${ reference . namespaceId } :${ reference . id } ` }
18
+ >
19
+ { reference . name }
20
+ </ Option >
21
+ ) )
20
22
21
23
const defaultAddressType = `${ references [ 0 ] . namespaceId } :${ references [ 0 ] . id } `
22
24
Original file line number Diff line number Diff line change 7
7
8
8
export type Reference = {
9
9
id : string
10
+ deprecated ?: boolean
10
11
namespaceId : string
11
12
name : string
12
13
label : string
@@ -74,6 +75,14 @@ export const references: Reference[] = [
74
75
label : 'BTC' ,
75
76
explorer : 'mempool.space'
76
77
} ,
78
+ {
79
+ deprecated : true ,
80
+ id : '4sGjMW1sUnHzSxGspuhpqLDx6wiyjNtZ' ,
81
+ namespaceId : 'solana' ,
82
+ name : 'Solana' ,
83
+ label : 'SOL' ,
84
+ explorer : 'solscan.io'
85
+ } ,
77
86
{
78
87
id : '5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp' ,
79
88
namespaceId : 'solana' ,
You can’t perform that action at this time.
0 commit comments