Browse Source

fix: contants => constants

AJ ONeal 1 year ago
parent
commit
2eea764378
3 changed files with 2 additions and 2 deletions
  1. 0 0
      src/lib/constants.ts
  2. 1 1
      src/routes/+page.server.ts
  3. 1 1
      src/routes/+page.svelte

+ 0 - 0
src/lib/contants.ts → src/lib/constants.ts


+ 1 - 1
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 }) => {

+ 1 - 1
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');