Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannaPeanut committed Dec 14, 2023
1 parent e4e6821 commit 5905fdf
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion src/pages/api/survey/[surveyId]/results.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
where: { surveyId: survey.id },
include: { responses: true },
})
console.log("surveySessions", surveySessions)

const headers = [
{ id: "createdAt", title: "createdAt" },
Expand Down
3 changes: 1 addition & 2 deletions src/subsections/mutations/updateSubsectionsWithFeltData.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import { resolver } from "@blitzjs/rpc"
import db from "db"
import { z } from "zod"
import { SubsectionWithPosition } from "../queries/getSubsection"
import { FeltApiResponseSchema, SubsectionSchema } from "../schema"
import { multilinestringToLinestring } from "../components/utils/multilinestringToLinestring"
import { FeltApiResponseSchema, SubsectionSchema } from "../schema"

const UpdateSubsectionsWithFeltDataSchema = z.object({
subsections: z.array(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ export function EditableSurveyResponseForm<S extends z.ZodType<any, any>>({
})

const handleSubmit = async (values: any) => {
console.log("handleSubmit", { values })
try {
await updateSurveyResponseMutation({
id: response.id,
Expand Down

0 comments on commit 5905fdf

Please sign in to comment.