Offer option to reset poll for legacy events

This commit is contained in:
Luke Vella 2022-04-12 14:39:31 +01:00
parent a049ec79c6
commit cd2b0e2cb8
5 changed files with 78 additions and 12 deletions

View file

@ -240,16 +240,18 @@ const PollPage: NextPage = () => {
}
targetTimeZone={targetTimeZone}
/>
<Popover
trigger={
<Button type="primary" icon={<Share />}>
Share
</Button>
}
placement={isWideScreen ? "bottom-end" : undefined}
>
<Sharing links={poll.links} />
</Popover>
<div>
<Popover
trigger={
<Button type="primary" icon={<Share />}>
Share
</Button>
}
placement={isWideScreen ? "bottom-end" : undefined}
>
<Sharing links={poll.links} />
</Popover>
</div>
</div>
) : null}
</div>