Skip to content

Commit

Permalink
Fix frontend bug
Browse files Browse the repository at this point in the history
  • Loading branch information
hulloitskai committed Dec 13, 2023
1 parent 9238984 commit 7a25501
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/pages/JourneysSessionPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ const JourneySessionPage: PageComponent<JourneysSessionPageProps> = ({

// == Participation
useSubscription(JourneysSessionPageSubscriptionDocument, {
variables: {
sessionId: session.id,
},
onData: ({ data: { data } }) => {
if (data) {
router.reload({ preserveScroll: true });
Expand Down

0 comments on commit 7a25501

Please sign in to comment.