mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 19:41:09 +02:00
fix(workbench): move @const out of {#if} in AppPagePicker snippet
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
957060ca55
commit
12bbe29a47
1 changed files with 2 additions and 2 deletions
|
|
@ -77,10 +77,10 @@
|
|||
</div>
|
||||
{/snippet}
|
||||
{#snippet item(app)}
|
||||
{@const Icon = app.icon}
|
||||
<button class="picker-option" onclick={() => onSelect(app.id)}>
|
||||
<div class="app-icon-wrap">
|
||||
{#if app.icon}
|
||||
{@const Icon = app.icon}
|
||||
{#if Icon}
|
||||
<Icon size={18} />
|
||||
{/if}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue