Skip to content

Commit

Permalink
fix: misc
Browse files Browse the repository at this point in the history
  • Loading branch information
ludc-octo committed Dec 23, 2023
1 parent abdc269 commit 574b44c
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/app.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ declare global {
// interface Error {}
// interface Locals {}
// interface PageData {}
// interface PageState {}
// interface Platform {}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/app.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en">
<html lang="fr">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%sveltekit.assets%/img/app-icons/icon.png" />
Expand Down
2 changes: 1 addition & 1 deletion src/routes/+layout.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const ssr = false;
export const ssr = false;
5 changes: 4 additions & 1 deletion src/routes/timetables/[line]/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<script lang="ts">
import { page } from "$app/stores";
import { page } from '$app/stores';
import type { PageData } from './$types';
export let data: PageData;
</script>

<p>{$page.params.line}</p>
5 changes: 5 additions & 0 deletions src/routes/timetables/[line]/+page.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import type { PageLoad } from './$types';

export const load: PageLoad = async ({ fetch, url }) => {
return {};
};

0 comments on commit 574b44c

Please sign in to comment.