Skip to content

Commit

Permalink
3
Browse files Browse the repository at this point in the history
  • Loading branch information
Tschonti committed Mar 17, 2024
1 parent c68ba9f commit 47398b5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/components/navbar/navbar-items.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ const links = [
href: '/contact',
label: 'kapcsolat',
},
{
href: '/questions',
label: 'kérdések',
},
{
href: '/golya',
label: 'gólyáknak',
Expand Down
4 changes: 2 additions & 2 deletions src/components/presentation/PresentationGrid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -173,7 +173,7 @@ export function PresentationTile({
)}
<div className='mt-10 w-full'>
<textarea
className='w-full rounded-md p-2 bg-transparent'
className='w-full rounded-md p-2 bg-transparent border-white border-[0.5px]'
value={question}
onChange={(e) => setQuestion(e.target.value)}
rows={4}
Expand Down

0 comments on commit 47398b5

Please sign in to comment.