update all deps

This commit is contained in:
2026-03-10 19:17:15 +01:00
parent 4b1084d826
commit 7a8736d9c5
17 changed files with 173 additions and 201 deletions

View File

@@ -7,7 +7,7 @@ import CreateUpdateCvCategoryForm from "../_components/CreateUpdateForm";
export default function Page() {
const {id} = useParams<{id: string}>();
const {data} = trpc.category.select.useQuery({id: id})
const {data} = trpc.category.getById.useQuery(id)
if (data !== undefined && data.length > 0) {
return (
<CreateUpdateCvCategoryForm entity={data[0]}/>

View File

@@ -6,7 +6,7 @@ import { trpc } from "~/app/_trpc/Client";
import type { IterableElement } from 'type-fest'
import { entitySchemas, makeOnSuccess } from "~/lib/utils";
import type { RouterOutputs } from "~/server/routers/_app";
import { CollapsibleForm, FormScaffold } from '~/app/_components/Form/Components';
import { FormScaffold } from '~/app/_components/Form/Components';
import { useState } from 'react';
import { SelectFormField, TextInputFormField } from '~/app/_components/Form/Fields';
import { usePathname, useRouter } from 'next/navigation';