mirror of
https://github.com/danbulant/Portfolio
synced 2026-05-24 12:35:31 +00:00
fix: correct ssr type
This commit is contained in:
parent
0c35b18a13
commit
21530f375e
1 changed files with 2 additions and 3 deletions
|
|
@ -3,12 +3,11 @@
|
|||
import Home from '$lib/components/icons/Home.svelte';
|
||||
import TextField from '$lib/components/textfield/TextField.svelte';
|
||||
import type { CandidatePreview } from '$lib/stores/candidate';
|
||||
import { onMount } from 'svelte';
|
||||
import type { PageData } from '../$types';
|
||||
import CreateCandidateModal from '$lib/components/admin/CreateCandidateModal.svelte';
|
||||
import Fuse from 'fuse.js';
|
||||
import type { PageServerData } from './$types';
|
||||
|
||||
export let data: PageData;
|
||||
export let data: PageServerData;
|
||||
|
||||
let candidates: Array<CandidatePreview> = data.preview;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue