Füge Benutzerabfrage zum neuen Ereignisformular hinzu und aktualisiere das Ereignisformular-Layout

This commit is contained in:
PxlLoewe
2025-02-22 16:18:19 +01:00
parent 06e8f9e92a
commit 8e1e9a67be
4 changed files with 15 additions and 4 deletions

View File

@@ -8,7 +8,7 @@ import {
} from '@repo/db/zod';
import { set, useForm } from 'react-hook-form';
import { BADGES, Event, User } from '@repo/db';
import { Bot, FileText, UserIcon } from 'lucide-react';
import { Bot, Calendar, FileText, UserIcon } from 'lucide-react';
import { Input } from '../../../../_components/ui/Input';
import { useRef, useState } from 'react';
import { deleteEvent, upsertEvent } from '../action';
@@ -154,7 +154,7 @@ export const Form = ({
<div className="card-body">
<div className="flex justify-between">
<h2 className="card-title">
<UserIcon className="w-5 h-5" /> Termine
<Calendar className="w-5 h-5" /> Termine
</h2>
<button
className="btn btn-primary btn-outline"