Skip to content

Commit a1da288

Browse files
committed
Formatting
1 parent 7bb7298 commit a1da288

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

packages/svelte/src/components/Link.svelte

+5-4
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,11 @@
2424
export let cacheFor: CacheForOption | CacheForOption[] = 0
2525
2626
$: asProp = method !== 'get' ? 'button' : as.toLowerCase()
27-
$: elProps = {
28-
a: { href },
29-
button: { type: 'button' },
30-
}[asProp] || {}
27+
$: elProps =
28+
{
29+
a: { href },
30+
button: { type: 'button' },
31+
}[asProp] || {}
3132
</script>
3233

3334
<!-- svelte-ignore a11y-no-static-element-interactions -->

0 commit comments

Comments
 (0)