Skip to content

Commit

Permalink
Merge pull request #155 from gagan-suie/dev
Browse files Browse the repository at this point in the history
Fix: test failures
  • Loading branch information
gagansuie authored Jan 18, 2023
2 parents b4c343d + f47f42a commit dde331b
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/routes/browse/[sectionId]/+page.server.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { error } from '@sveltejs/kit'
import type { PageServerLoad } from './$types'

export const load = (async ({ params }) => {
// const post = await getChannels()

// if (post) {
// return post
// }

// throw error(404, 'Not found')
}) satisfies PageServerLoad
12 changes: 12 additions & 0 deletions src/routes/search/[searchQuery]/+page.server.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { error } from '@sveltejs/kit'
import type { PageServerLoad } from './$types'

export const load = (async ({ params }) => {
// const post = await getChannels()

// if (post) {
// return post
// }

// throw error(404, 'Not found')
}) satisfies PageServerLoad

0 comments on commit dde331b

Please sign in to comment.