diff --git a/src/components/navbar/navbar-items.tsx b/src/components/navbar/navbar-items.tsx index 68f8fd4..86461ca 100644 --- a/src/components/navbar/navbar-items.tsx +++ b/src/components/navbar/navbar-items.tsx @@ -18,6 +18,10 @@ const links = [ href: '/contact', label: 'kapcsolat', }, + { + href: '/questions', + label: 'kérdések', + }, { href: '/golya', label: 'gólyáknak', diff --git a/src/components/presentation/PresentationGrid.tsx b/src/components/presentation/PresentationGrid.tsx index b8c7e8c..bfdad86 100644 --- a/src/components/presentation/PresentationGrid.tsx +++ b/src/components/presentation/PresentationGrid.tsx @@ -108,7 +108,7 @@ export function PresentationTile({ const onSend = async () => { if (question.trim()) { setIsLoading(true); - const status = await sendQuestion({ question, slug: 'presentation.slug' }); + const status = await sendQuestion({ question, slug: presentation.slug }); setIsLoading(false); switch (status) { case 201: @@ -173,7 +173,7 @@ export function PresentationTile({ )}