mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 18:31:06 +00:00
refactor(ui-shell): remove redundant conditional in HeaderGlobalAction
This commit is contained in:
parent
92e463c816
commit
cf2dc12546
1 changed files with 1 additions and 3 deletions
|
@ -27,8 +27,6 @@
|
|||
on:click
|
||||
>
|
||||
<slot>
|
||||
{#if icon}
|
||||
<svelte:component this="{icon}" />
|
||||
{/if}
|
||||
<svelte:component this="{icon}" />
|
||||
</slot>
|
||||
</button>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue