Files
photon-tbw/src/routes/create/post/+page.ts
T
2023-09-28 17:09:09 -07:00

6 lines
156 B
TypeScript

import { getClient } from '$lib/lemmy.js'
export const load = ({ url }) => {
return { crosspost: Boolean(url.searchParams.get('crosspost')) ?? false }
}