@@ -10,6 +10,7 @@ import type { UseFormReturn } from "react-hook-form";
1010import { Toaster } from "sonner" ;
1111import type { z } from "zod" ;
1212
13+ import { buildEmptyQueryValue , raqbQueryValueUtils } from "@calcom/app-store/_utils/raqb/raqbUtils" ;
1314import { routingFormAppComponents } from "@calcom/app-store/routing-forms/appComponents" ;
1415import DynamicAppComponent from "@calcom/app-store/routing-forms/components/DynamicAppComponent" ;
1516import { EmptyState } from "@calcom/app-store/routing-forms/components/_components/EmptyState" ;
@@ -44,7 +45,6 @@ import { useOrgBranding } from "@calcom/features/ee/organizations/context/provid
4445import type { EventTypesByViewer } from "@calcom/features/eventtypes/lib/getEventTypesByViewer" ;
4546import { areTheySiblingEntities } from "@calcom/lib/entityPermissionUtils.shared" ;
4647import { useLocale } from "@calcom/lib/hooks/useLocale" ;
47- import { buildEmptyQueryValue , raqbQueryValueUtils } from "@calcom/lib/raqb/raqbUtils" ;
4848import type { Prisma } from "@calcom/prisma/client" ;
4949import { SchedulingType } from "@calcom/prisma/enums" ;
5050import { trpc } from "@calcom/trpc/react" ;
@@ -1190,7 +1190,7 @@ const Routes = ({
11901190 } ) || [ ] ;
11911191
11921192 // const isConnectedForm = (id: string) => form.connectedForms.map((f) => f.id).includes(id);
1193- // eslint-disable-next-line @typescript-eslint/no-explicit-any
1193+
11941194 // const routers: any[] = [];
11951195 /* Disable this feature for new forms till we get it fully working with Routing Form with Attributes. This isn't much used feature */
11961196 // const routers = availableRouters.map((r) => {
@@ -1235,15 +1235,15 @@ const Routes = ({
12351235 } ) ;
12361236 setRoutes ( ( routes ) => {
12371237 // Even though it's obvious that fallbackRoute is defined here but TypeScript just can't figure it out.
1238- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
1238+
12391239 return [ ...routes , fallbackRoute ! ] ;
12401240 } ) ;
12411241 return null ;
12421242 } else if ( routes . indexOf ( fallbackRoute ) !== routes . length - 1 ) {
12431243 // Ensure fallback is last
12441244 setRoutes ( ( routes ) => {
12451245 // Even though it's obvious that fallbackRoute is defined here but TypeScript just can't figure it out.
1246- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
1246+
12471247 return [ ...routes . filter ( ( route ) => route . id !== fallbackRoute ! . id ) , fallbackRoute ! ] ;
12481248 } ) ;
12491249 }
0 commit comments