Cleanup classes

This commit is contained in:
2021-11-16 22:35:58 +01:00
parent 30b2cc3f16
commit a9d42dcc0d
2 changed files with 2 additions and 7 deletions

View File

@@ -7,10 +7,7 @@
$: split = splitText(text, mode)
const classes = [
'text-split',
$$props.class
].join(' ').trim()
const classes = ['text-split', $$props.class].join(' ').trim()
</script>
{#if clone}

View File

@@ -2,9 +2,7 @@
export let icon: string
export let label: string = undefined
const classes = [
$$props.class
].join(' ').trim()
const classes = [$$props.class].join(' ').trim()
</script>
<svg class={classes} aria-label={label}>