Skip to content
This repository was archived by the owner on Apr 19, 2021. It is now read-only.

Commit ceb74b8

Browse files
committed
🎨 style: no longer need // @ts-ignore in _error.svelte
1 parent ccd347b commit ceb74b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/routes/_error.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
export let status: number;
33
export let error: Error;
44
5-
// @ts-ignore
6-
const dev = process.env.NODE_ENV === "development";
5+
const mode = process.env.NODE_ENV;
6+
const dev = mode === "development";
77
</script>
88

99
<section class="flex flex-1 flex-col items-center justify-center">

0 commit comments

Comments
 (0)