ui fixed
This commit is contained in:
@@ -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 */}
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user