switch to bun, update all packages
This commit is contained in:
@@ -11,7 +11,7 @@ import { useState } from 'react';
|
||||
import { SelectFormField, TextInputFormField } from '~/app/_components/Form/Fields';
|
||||
import { usePathname, useRouter } from 'next/navigation';
|
||||
import { SelectItem } from '~/components/ui/select';
|
||||
import FormMutationContextProvider from '~/app/_components/Form/Components/MutationProvider';
|
||||
import {FormMutationContextProvider} from '~/app/_components/Form/Components/MutationProvider';
|
||||
export default function CreateUpdateCvCategoryForm(params: { className?: string, entity?: IterableElement<RouterOutputs['category']['select']> }) {
|
||||
const schemas = entitySchemas('cvCategory')
|
||||
const [id, setId] = useState<string | undefined>(params.entity ? params.entity.id : undefined)
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
'use server'
|
||||
|
||||
import { SignedIn } from "@clerk/nextjs";
|
||||
import { Show } from "@clerk/nextjs";
|
||||
|
||||
export default async function AdminPage() {
|
||||
return (
|
||||
<SignedIn>
|
||||
<Show when="signed-in">
|
||||
<main className="flex min-h-screen flex-col items-center justify-center">
|
||||
<div>
|
||||
hello admin
|
||||
</div>
|
||||
</main>
|
||||
</SignedIn>
|
||||
</Show>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user