This commit is contained in:
thesn10
2026-05-23 23:21:55 +02:00
parent d7d57ca7a4
commit 032416fffd
3 changed files with 22 additions and 3 deletions

View File

@@ -20,6 +20,12 @@ export default function PlaygroundPage() {
const [mounted, setMounted] = useState(false)
useEffect(() => { setMounted(true) }, [])
useEffect(() => {
if (selected && !escrows.some((e) => e.pda === selected.pda)) {
setSelected(null)
}
}, [escrows, selected])
return (
<YStack flex={1} minHeight="100vh" backgroundColor="$background">
{/* Header */}

View File

@@ -172,7 +172,7 @@ export function ResolverPanel() {
<Text fontWeight="600">{account.name}</Text>
<Text fontSize={12} color="$color10">{resolverTypeLabel(account.resolverType)}</Text>
</XStack>
{account.description && (
{!!account.description && (
<Text fontSize={12} color="$color10">{account.description}</Text>
)}
<XStack gap="$4">