{wallets
- .map((def, i) =>
-
-
-
+ .sort((w1, w2) => {
+ if (!w2.isConfigured || !w2.enabled) {
+ return -1
+ }
+ return w1.priority - w2.priority
+ })
+ .map((w, i) => {
+ const draggable = w.isConfigured
+ return (
+
+
+
+ )
+ }
)}
+
diff --git a/styles/wallet.module.css b/styles/wallet.module.css
index e29e5ae3..b4efe607 100644
--- a/styles/wallet.module.css
+++ b/styles/wallet.module.css
@@ -18,7 +18,6 @@
.card {
width: 160px;
height: 180px;
- cursor: move;
}
.badge {