refactor: run formatter

This commit is contained in:
Elias Schneider
2026-07-10 15:57:17 +02:00
parent 2910c517bb
commit 59a6868ecd
8 changed files with 30 additions and 25 deletions
@@ -1,7 +1,7 @@
import Root from "./input-otp.svelte";
import Group from "./input-otp-group.svelte";
import Slot from "./input-otp-slot.svelte";
import Separator from "./input-otp-separator.svelte";
import Root from './input-otp.svelte';
import Group from './input-otp-group.svelte';
import Slot from './input-otp-slot.svelte';
import Separator from './input-otp-separator.svelte';
export {
Root,
@@ -11,5 +11,5 @@ export {
Root as InputOTP,
Group as InputOTPGroup,
Slot as InputOTPSlot,
Separator as InputOTPSeparator,
Separator as InputOTPSeparator
};
@@ -1,7 +1,7 @@
<script lang="ts">
import type { HTMLAttributes } from "svelte/elements";
import type { WithElementRef } from "$lib/utils/style.js";
import { cn } from "$lib/utils/style.js";
import type { HTMLAttributes } from 'svelte/elements';
import type { WithElementRef } from '$lib/utils/style.js';
import { cn } from '$lib/utils/style.js';
import MinusIcon from '@lucide/svelte/icons/minus';
let {
@@ -22,6 +22,6 @@
{#if children}
{@render children?.()}
{:else}
<MinusIcon />
<MinusIcon />
{/if}
</div>
+8 -1
View File
@@ -18,7 +18,14 @@ export function getAuthRedirectPath(url: URL, user: User | null) {
const isPublicPath =
path.startsWith('/lc/') ||
['/interaction', '/interaction/error', '/login/alternative/code', '/device', '/health', '/healthz'].includes(path);
[
'/interaction',
'/interaction/error',
'/login/alternative/code',
'/device',
'/health',
'/healthz'
].includes(path);
const isAdminPath = path == '/settings/admin' || path.startsWith('/settings/admin/');
+4 -6
View File
@@ -117,12 +117,10 @@ export function startPageTrace(path?: string): void {
}
endPageSpan();
pageSpan = otel.trace
.getTracer(TRACER_NAME)
.startSpan(path ? `pageview ${path}` : 'pageview', {
root: true,
kind: otel.SpanKind.INTERNAL
});
pageSpan = otel.trace.getTracer(TRACER_NAME).startSpan(path ? `pageview ${path}` : 'pageview', {
root: true,
kind: otel.SpanKind.INTERNAL
});
pageContext = otel.trace.setSpan(otel.ROOT_CONTEXT, pageSpan);
}