Skip to content

Commit 7d67ea3

Browse files
committed
Fix lint errors
1 parent d75c315 commit 7d67ea3

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

src/app.html

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

2727
<body>
28-
%sveltekit.body%
28+
<div style="display: contents">%sveltekit.body%</div>
2929
</body>
3030
</html>

src/lib/Gallery.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script lang="ts">
2-
export let center: boolean = false;
2+
export let center = false;
33
</script>
44

55
<div class={center ? 'center' : ''}>

src/lib/SquareLink.svelte

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
case 'mailto:':
1818
return 'Email';
1919
case 'http:':
20-
case 'https:':
20+
case 'https:': {
2121
const hostname = url.hostname.replace('www.', '');
2222
switch (hostname) {
2323
case 'linkedin.com':
@@ -31,6 +31,7 @@
3131
default:
3232
throw new Error(`Unknown host name: ${hostname}`);
3333
}
34+
}
3435
default:
3536
throw new Error(`Unknown protocol: ${url.protocol}`);
3637
}

0 commit comments

Comments
 (0)