Allow updating events

This commit is contained in:
Bruno Bernardino
2024-03-21 16:24:59 +00:00
parent f779dde0fc
commit 9cd5d9f43d
8 changed files with 388 additions and 7 deletions

View File

@@ -94,8 +94,9 @@ export default function ViewEventModal(
Delete
</button>
<a
href={`/calendar/events/${calendarEvent.id}`}
href={`/calendar/${calendarEvent.id}`}
class='px-5 py-2 bg-slate-600 hover:bg-slate-500 text-white cursor-pointer rounded-md'
target='_blank'
>
Edit
</a>