1
0
Fork 0

Clean up code

This commit is contained in:
Leon Grünewald 2024-03-29 13:32:13 +01:00
parent c5d9e1a6fc
commit a16d2de0b8
3 changed files with 4 additions and 11 deletions

View file

@ -1,12 +1,6 @@
import { invoke } from "@tauri-apps/api/tauri";
export const ssr = false; export const ssr = false;
/** @type {import('./$types').PageLoad} */ /** @type {import('./$types').PageLoad} */
export async function load({ params }) { export async function load({ params }) {
// const post = await invoke('get_post', {post_id: params.post_id}); return { postId: params.post_id };
return {
postId: params.post_id
};
} }

View file

@ -13,7 +13,6 @@
import { BackAppRailAnchor, GlobalSearch, PostMedia, SearchAppRailAnchor } from '$lib/components'; import { BackAppRailAnchor, GlobalSearch, PostMedia, SearchAppRailAnchor } from '$lib/components';
import { onMount } from 'svelte'; import { onMount } from 'svelte';
import { loading, showSearch } from '$lib/stores'; import { loading, showSearch } from '$lib/stores';
import { limitImageHeight } from '$lib/settings.js';
import { TAG_TYPES } from '$lib/Tags'; import { TAG_TYPES } from '$lib/Tags';
import { invoke } from '@tauri-apps/api/tauri'; import { invoke } from '@tauri-apps/api/tauri';