From 4df2f190ad2610881e74d98de4b6fc4f8461f0ee Mon Sep 17 00:00:00 2001 From: BillySBarrett Date: Wed, 21 Aug 2024 12:30:23 +0200 Subject: [PATCH] Revert "fix dashboard imports" This reverts commit c868a3298d7fd209b0d61189708c8427ae738551. --- .../src/app/(dashboard)/interest-group/write-form.tsx | 2 +- apps/dashboard/src/app/(dashboard)/job-listing/write-form.tsx | 4 ++-- .../src/modules/attendance/queries/use-get-queries.ts | 2 +- .../mutations/use-update-interest-group-mutation.ts | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/dashboard/src/app/(dashboard)/interest-group/write-form.tsx b/apps/dashboard/src/app/(dashboard)/interest-group/write-form.tsx index bbbb8ad64..cf57b51d4 100644 --- a/apps/dashboard/src/app/(dashboard)/interest-group/write-form.tsx +++ b/apps/dashboard/src/app/(dashboard)/interest-group/write-form.tsx @@ -1,5 +1,5 @@ import { type InterestGroupWrite, InterestGroupWriteSchema } from "@dotkomonline/types" -import { createCheckboxInput, createTextInput, createTextareaInput, useFormBuilder } from "../../../app/form" +import { createCheckboxInput, createTextInput, createTextareaInput, useFormBuilder } from "src/app/form" const INTEREST_GROUP_FORM_DEFAULT_VALUES: Partial = {} diff --git a/apps/dashboard/src/app/(dashboard)/job-listing/write-form.tsx b/apps/dashboard/src/app/(dashboard)/job-listing/write-form.tsx index f6f5e1660..c2b51abab 100644 --- a/apps/dashboard/src/app/(dashboard)/job-listing/write-form.tsx +++ b/apps/dashboard/src/app/(dashboard)/job-listing/write-form.tsx @@ -1,5 +1,4 @@ import { JobListingSchema, JobListingWriteSchema } from "@dotkomonline/types" -import type { z } from "zod" import { createCheckboxInput, createDateTimeInput, @@ -8,7 +7,8 @@ import { createTextInput, createTextareaInput, useFormBuilder, -} from "../../../app/form" +} from "src/app/form" +import type { z } from "zod" import { useCompanyAllQuery } from "../../../modules/company/queries/use-company-all-query" import { useJobListingAllLocationsQuery } from "../../../modules/job-listing/queries/use-job-listing-locations-all-query" diff --git a/apps/dashboard/src/modules/attendance/queries/use-get-queries.ts b/apps/dashboard/src/modules/attendance/queries/use-get-queries.ts index 3a99097e3..cefc640f1 100644 --- a/apps/dashboard/src/modules/attendance/queries/use-get-queries.ts +++ b/apps/dashboard/src/modules/attendance/queries/use-get-queries.ts @@ -1,5 +1,5 @@ import type { AttendanceId } from "@dotkomonline/types" -import { useQueryNotification } from "../../../app/notifications" +import { useQueryNotification } from "src/app/notifications" import { trpc } from "../../../utils/trpc" import { openAttendanceRegisteredModal } from "../modals/attendance-registered-modal" import { openAlreadyAttendedModal } from "../modals/error-attendance-registered-modal" diff --git a/apps/dashboard/src/modules/interest-group/mutations/use-update-interest-group-mutation.ts b/apps/dashboard/src/modules/interest-group/mutations/use-update-interest-group-mutation.ts index 5e7fe0236..4528acb59 100644 --- a/apps/dashboard/src/modules/interest-group/mutations/use-update-interest-group-mutation.ts +++ b/apps/dashboard/src/modules/interest-group/mutations/use-update-interest-group-mutation.ts @@ -1,5 +1,5 @@ -import { useQueryNotification } from "../../../app/notifications" -import { trpc } from "../../../utils/trpc" +import { useQueryNotification } from "src/app/notifications" +import { trpc } from "src/utils/trpc" export const useUpdateInterestGroupMutation = () => { const notification = useQueryNotification()