Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added button for facebook page #1132

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/pages/EventDetails/components/EventRenderer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,13 @@
)}
</>
)}

Check warning on line 389 in src/pages/EventDetails/components/EventRenderer.tsx

View workflow job for this annotation

GitHub Actions / build (18.x)

Delete `··············`
{data.is_paid_event&&(registration?.has_paid_order || data.list_count >= data.limit) &&

Check warning on line 390 in src/pages/EventDetails/components/EventRenderer.tsx

View workflow job for this annotation

GitHub Actions / build (18.x)

Replace `&&(registration?.has_paid_order·||·data.list_count·>=·data.limit)·&&` with `·&&·(registration?.has_paid_order·||·data.list_count·>=·data.limit)·&&·(`
<Link to = "https://www.facebook.com/groups/598608738731749/"><Button className='my-4 w-full'>{registration?.has_paid_order?"Selg billetten din her":"Sjekk om noen selger billett her"}</Button></Link>

Check warning on line 391 in src/pages/EventDetails/components/EventRenderer.tsx

View workflow job for this annotation

GitHub Actions / build (18.x)

Replace `··············<Link·to·=·"https://www.facebook.com/groups/598608738731749/"><Button·className='my-4·w-full'>{registration?.has_paid_order?"Selg·billetten·din·her":"Sjekk·om·noen·selger·billett·her"}</Button></Link>` with `················<Link·to='https://www.facebook.com/groups/598608738731749/'>⏎··················<Button·className='my-4·w-full'>{registration?.has_paid_order·?·'Selg·billetten·din·her'·:·'Sjekk·om·noen·selger·billett·her'}</Button>`
}

Check warning on line 392 in src/pages/EventDetails/components/EventRenderer.tsx

View workflow job for this annotation

GitHub Actions / build (18.x)

Replace `}⏎⏎··············⏎······` with `··</Link>⏎··············)}`


Check failure on line 394 in src/pages/EventDetails/components/EventRenderer.tsx

View workflow job for this annotation

GitHub Actions / build (18.x)

More than 1 blank line not allowed

</CardContent>
</Card>

Expand Down
Loading