More stuff

This commit is contained in:
Jon Staab
2026-03-27 14:08:05 -07:00
parent bc45017222
commit 77ea366c69
12 changed files with 103 additions and 186 deletions
+1
View File
@@ -22,6 +22,7 @@ export default function Home() {
navigate(`/relays/${relay.id}`)
} else {
setDraftRelay(values)
setShowRelayModal(false)
setShowLoginModal(true)
}
}
+2 -2
View File
@@ -1,6 +1,6 @@
import { useParams } from "@solidjs/router"
import { createMemo, createResource, createSignal, Show } from "solid-js"
import type { RelayPlanId } from "@/lib/relayPlans"
import type { PlanId } from "@/lib/api"
import BackLink from "@/components/BackLink"
import PageContainer from "@/components/PageContainer"
import RelayDetailCard from "@/components/RelayDetailCard"
@@ -131,7 +131,7 @@ export default function RelayDetail() {
void updateRelay(next, current)
}
async function handleUpdatePlan(plan: RelayPlanId) {
async function handleUpdatePlan(plan: PlanId) {
const current = relay()
if (!current) return
+1 -1
View File
@@ -138,7 +138,7 @@ export default function RelayNew() {
<div class="text-sm text-gray-500 mt-1">
{p.price === 0 ? "Free" : `${p.price.toLocaleString()} sats/mo`}
</div>
<div class="text-xs text-gray-500 mt-2">{p.members} members</div>
<div class="text-xs text-gray-500 mt-2">{p.memberLabel}</div>
</button>
))}
</div>