chore: remove unused props

This commit is contained in:
Ilia Mashkov
2026-02-10 18:13:03 +03:00
parent 0db13404e2
commit 3f0761aca7
2 changed files with 4 additions and 6 deletions

View File

@@ -84,8 +84,7 @@ const letterSpacing = $derived(controlManager.spacing);
</div>
<div class="p-4 sm:p-5 md:p-8 relative z-10">
<!-- TODO: Fix this ! -->
<FontApplicator id={font.id} name={font.name} url={font.styles.regular!}>
<FontApplicator {font} weight={fontWeight}>
<ContentEditable
bind:text={text}
{...restProps}

View File

@@ -70,7 +70,7 @@ function selectFontB(font: UnifiedFont) {
)}
>
<div class="text-left flex-1 min-w-0">
<FontApplicator name={font.name} id={font.id} {url}>
<FontApplicator {font} weight={typography.weight}>
{font.name}
</FontApplicator>
</div>
@@ -95,9 +95,8 @@ function selectFontB(font: UnifiedFont) {
onclick={handleClick}
>
<FontApplicator
name={fontListItem.name}
id={fontListItem.id}
url={getFontUrl(fontListItem, typography.weight) ?? ''}
font={fontListItem}
weight={typography.weight}
>
{fontListItem.name}
</FontApplicator>