Skip to content

Commit 0f66a80

Browse files
Turbo87eth3lbert
andauthored
Apply suggestions from code review
Co-authored-by: eth3lbert <[email protected]>
1 parent f4cc9ea commit 0f66a80

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

svelte/src/lib/components/PageHeader.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
let { title, suffix, showSpinner = false, children, class: className, ...others }: Props = $props();
1515
</script>
1616

17-
<div data-test-page-header class="header {className}" {...others}>
17+
<div data-test-page-header class={["header", className]} {...others}>
1818
{#if children}
1919
{@render children()}
2020
{:else}

svelte/src/lib/components/TextContent.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
let { boxed = false, children, class: className, ...others }: Props = $props();
1111
</script>
1212

13-
<div class="wrapper {className}" class:boxed {...others}>
13+
<div class={["wrapper", className, { boxed }]} {...others}>
1414
{@render children()}
1515
</div>
1616

0 commit comments

Comments
 (0)