Move participants provider (#250)

This commit is contained in:
Luke Vella 2022-07-28 10:53:29 +01:00 committed by GitHub
parent c2aea134ef
commit 8ced6bb2a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,13 +35,13 @@ const PollPageLoader: NextPage = () => {
if (poll) { if (poll) {
return ( return (
<StandardLayout>
<ParticipantsProvider pollId={poll.id}> <ParticipantsProvider pollId={poll.id}>
<StandardLayout>
<PollContextProvider poll={poll} urlId={urlId} admin={admin}> <PollContextProvider poll={poll} urlId={urlId} admin={admin}>
<PollPage /> <PollPage />
</PollContextProvider> </PollContextProvider>
</ParticipantsProvider>
</StandardLayout> </StandardLayout>
</ParticipantsProvider>
); );
} }