refactor: redundant check
This commit is contained in:
1 parent
1a81c6c1a5
commit
df0a44b9c2
1 file changed
-2
@@ -17,7 +17,6 @@
|
|||||||
export let type: MediaType = 'none'
|
export let type: MediaType = 'none'
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
{#if view == 'compact' || view == 'list'}
|
|
||||||
<div
|
<div
|
||||||
class="w-24 sm:w-32 h-24 relative group/media {$$props.class ?? ''}"
|
class="w-24 sm:w-32 h-24 relative group/media {$$props.class ?? ''}"
|
||||||
style={$$props.style ?? ''}
|
style={$$props.style ?? ''}
|
||||||
@@ -89,4 +88,3 @@
|
|||||||
{/if}
|
{/if}
|
||||||
</svelte:element>
|
</svelte:element>
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
|
||||||
Reference in new issue
Block a user