Skip to content

Commit

Permalink
fix: linek nonsense
Browse files Browse the repository at this point in the history
  • Loading branch information
Rei-x committed Oct 29, 2024
1 parent 6199bcf commit c21a617
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib/useCreateEvent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const useCreateEvent = () => {
const event = await supabase
.from("events")
.insert({
name: new Date().toLocaleString(),
name: `Nowe wydarzenie - ${new Date().toLocaleTimeString()}`,
description: "",
organizerName: "",
ownersSlug: v4(),
Expand Down
4 changes: 3 additions & 1 deletion src/pages/event/[slug]/settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,9 @@ export default function Dashboard({
render={({ field }) => (
<FormItem>
<div className="grid w-full max-w-sm items-center gap-1.5">
<FormLabel htmlFor="date">Data</FormLabel>
<FormLabel htmlFor="date">
Data rozpoczęcia wydarzenia
</FormLabel>
<FormControl>
<Popover>
<PopoverTrigger asChild={true}>
Expand Down

0 comments on commit c21a617

Please sign in to comment.