From 0366fb8ef83afb50ed236582110ed3817d92b019 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sat, 21 Oct 2023 14:54:52 -0600 Subject: [PATCH] fix: contants => constants --- src/lib/{contants.ts => constants.ts} | 0 src/routes/+page.server.ts | 2 +- src/routes/+page.svelte | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename src/lib/{contants.ts => constants.ts} (100%) diff --git a/src/lib/contants.ts b/src/lib/constants.ts similarity index 100% rename from src/lib/contants.ts rename to src/lib/constants.ts diff --git a/src/routes/+page.server.ts b/src/routes/+page.server.ts index f86b7995..f0286982 100644 --- a/src/routes/+page.server.ts +++ b/src/routes/+page.server.ts @@ -1,4 +1,4 @@ -import { ENDPOINT } from '$lib/contants'; +import { ENDPOINT } from '$lib/constants'; import type { PageServerLoad } from './$types'; export const load: PageServerLoad = async ({ url }) => { diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index eff66908..063fd427 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -9,7 +9,7 @@ import 'highlight.js/styles/dark.min.css'; import type { PageData } from './$types'; - import { ENDPOINT as SERVER_ENDPOINT } from '$lib/contants'; + import { ENDPOINT as SERVER_ENDPOINT } from '$lib/constants'; import { onMount, tick } from 'svelte'; import { page } from '$app/stores'; const suggestions = $page.url.searchParams.get('suggestions');