Clean up code
This commit is contained in:
parent
c5d9e1a6fc
commit
a16d2de0b8
3 changed files with 4 additions and 11 deletions
|
@ -1,12 +1,6 @@
|
|||
import { invoke } from "@tauri-apps/api/tauri";
|
||||
|
||||
export const ssr = false;
|
||||
|
||||
/** @type {import('./$types').PageLoad} */
|
||||
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 };
|
||||
}
|
|
@ -13,7 +13,6 @@
|
|||
import { BackAppRailAnchor, GlobalSearch, PostMedia, SearchAppRailAnchor } from '$lib/components';
|
||||
import { onMount } from 'svelte';
|
||||
import { loading, showSearch } from '$lib/stores';
|
||||
import { limitImageHeight } from '$lib/settings.js';
|
||||
import { TAG_TYPES } from '$lib/Tags';
|
||||
import { invoke } from '@tauri-apps/api/tauri';
|
||||
|
||||
|
|
Loading…
Reference in a new issue