Skip to content

Commit 367c110

Browse files
committed
Fixed npm run check errors
1 parent e0f87d7 commit 367c110

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

src/Exceptionless.Web/ClientApp/src/lib/features/shared/components/Loading.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
</script>
2626

2727
<div role="status">
28-
<svg aria-hidden="true" class={cn(variants({ className, variant }))} fill="none" viewBox="0 0 100 101" xmlns="http://www.w3.org/2000/svg">
28+
<svg aria-hidden="true" class={cn(variants({ variant }), className)} fill="none" viewBox="0 0 100 101" xmlns="http://www.w3.org/2000/svg">
2929
<path
3030
d="M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z"
3131
fill="currentColor"

src/Exceptionless.Web/ClientApp/src/lib/features/shared/components/formatters/Percentage.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
let { percent }: Props = $props();
77
8-
const formatOptions = {
8+
const formatOptions: Intl.NumberFormatOptions = {
99
maximumFractionDigits: 1,
1010
minimumFractionDigits: 1,
1111
style: 'percent'

src/Exceptionless.Web/ClientApp/src/lib/features/shared/components/typography/A.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
let { children, class: className, variant = 'default', ...props }: Props = $props();
77
</script>
88

9-
<a class={cn(variants({ className, variant }))} {...props}>
9+
<a class={cn(variants({ variant }), className)} {...props}>
1010
{#if children}
1111
{@render children()}
1212
{/if}

src/Exceptionless.Web/ClientApp/src/lib/features/shared/components/ui/badge/badge.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
this={href ? "a" : "span"}
4343
bind:this={ref}
4444
{href}
45-
class={cn(badgeVariants({ variant, className }))}
45+
class={cn(badgeVariants({ variant }), className)}
4646
{...restProps}
4747
>
4848
{@render children?.()}

src/Exceptionless.Web/ClientApp/src/lib/features/shared/components/ui/button/button.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
{#if href}
5858
<a
5959
bind:this={ref}
60-
class={cn(buttonVariants({ variant, size, className }))}
60+
class={cn(buttonVariants({ variant, size }), className)}
6161
{href}
6262
{...restProps}
6363
>
@@ -66,7 +66,7 @@
6666
{:else}
6767
<button
6868
bind:this={ref}
69-
class={cn(buttonVariants({ variant, size, className }))}
69+
class={cn(buttonVariants({ variant, size }), className)}
7070
{type}
7171
{...restProps}
7272
>

0 commit comments

Comments
 (0)