refactor: use icon prop instead of snippet prefix
This commit is contained in:
56 files changed
+409
-595
No files matched your search
@@ -107,11 +107,8 @@
|
||||
class="h-8.5 w-8.5"
|
||||
rounding="xl"
|
||||
onclick={onupdate}
|
||||
>
|
||||
{#snippet prefix()}
|
||||
<Icon src={ArrowPath} size="16" mini />
|
||||
{/snippet}
|
||||
</Button>
|
||||
icon={ArrowPath}
|
||||
></Button>
|
||||
</div>
|
||||
{/snippet}
|
||||
</EndPlaceholder>
|
||||
@@ -150,11 +147,13 @@
|
||||
{$t('filter.sort.controversial')}
|
||||
</Option>
|
||||
</Select>
|
||||
<Button size="custom" class="h-8.5 w-8.5" rounding="xl" onclick={onupdate}>
|
||||
{#snippet prefix()}
|
||||
<Icon src={ArrowPath} size="16" mini />
|
||||
{/snippet}
|
||||
</Button>
|
||||
<Button
|
||||
size="custom"
|
||||
class="h-8.5 w-8.5"
|
||||
rounding="xl"
|
||||
onclick={onupdate}
|
||||
icon={ArrowPath}
|
||||
></Button>
|
||||
</div>
|
||||
{/if}
|
||||
{#if virtualize}
|
||||
|
||||
Reference in new issue
Block a user