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'
|
||||
</script>
|
||||
|
||||
{#if view == 'compact' || view == 'list'}
|
||||
<div
|
||||
class="w-24 sm:w-32 h-24 relative group/media {$$props.class ?? ''}"
|
||||
style={$$props.style ?? ''}
|
||||
@@ -89,4 +88,3 @@
|
||||
{/if}
|
||||
</svelte:element>
|
||||
</div>
|
||||
{/if}
|
||||
Reference in new issue
Block a user