refactor: redundant check

This commit is contained in:
sevonj committed 2024-07-06 15:35:04 +03:00
1 parent 1a81c6c1a5
commit df0a44b9c2
1 file changed
+3 -5
@@ -17,11 +17,10 @@
export let type: MediaType = 'none'
</script>
{#if view == 'compact' || view == 'list'}
<div
<div
class="w-24 sm:w-32 h-24 relative group/media {$$props.class ?? ''}"
style={$$props.style ?? ''}
>
>
{#if post.alt_text}
<Popover
openOnHover
@@ -88,5 +87,4 @@
</div>
{/if}
</svelte:element>
</div>
{/if}
</div>