atproto explorer

prevent duplicate descriptions

juli.ee e1e994fb d82166ee

verified
+11 -1
+11 -1
src/components/lexicon-schema.tsx
··· 296 296 </span> 297 297 </div> 298 298 299 - <Show when={props.def.description}> 299 + <Show 300 + when={ 301 + props.def.description && 302 + (props.def.properties || 303 + props.def.parameters || 304 + props.def.input || 305 + props.def.output || 306 + props.def.errors || 307 + props.def.record) 308 + } 309 + > 300 310 <p class="text-sm text-neutral-700 dark:text-neutral-300">{props.def.description}</p> 301 311 </Show> 302 312