Commit 08a73e3
authored
feat: remove supported-platforms feature gate (#2335)
## Summary
This PR removes the `supported-platforms` feature flag, enabling all
network platforms by default in the wallet selection drawer.
## Changes
###
`packages/keychain/src/components/purchasenew/checkout/onchain/wallet-drawer.tsx`
- Removed the `isSupportedPlatformsEnabled` feature flag hook call
- Updated `selectedNetworks` useMemo to always include all platforms:
starknet, ethereum, base, arbitrum, and optimism
- Removed `isSupportedPlatformsEnabled` from the dependency array
- Minor formatting improvements
### `packages/keychain/src/hooks/features.tsx`
- Removed `supported-platforms` from the `Feature` type union
## Result
All network platforms are now always available in the wallet selection
drawer without requiring feature flag enablement.1 parent 170e397 commit 08a73e3
File tree
2 files changed
+11
-18
lines changed- packages/keychain/src
- components/purchasenew/checkout/onchain
- hooks
2 files changed
+11
-18
lines changedLines changed: 10 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | 34 | | |
36 | 35 | | |
37 | 36 | | |
| |||
52 | 51 | | |
53 | 52 | | |
54 | 53 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
66 | 63 | | |
67 | 64 | | |
68 | 65 | | |
| |||
78 | 75 | | |
79 | 76 | | |
80 | 77 | | |
81 | | - | |
| 78 | + | |
82 | 79 | | |
83 | 80 | | |
84 | 81 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
| 13 | + | |
18 | 14 | | |
19 | 15 | | |
20 | 16 | | |
| |||
0 commit comments