mirror of
https://github.com/lukevella/rallly.git
synced 2025-05-24 06:16:25 +02:00
📈 Track last poll created date (#1233)
This commit is contained in:
parent
c524c53cc9
commit
4021c214fa
1 changed files with 3 additions and 0 deletions
|
@ -99,6 +99,9 @@ export const CreatePoll: React.FunctionComponent = () => {
|
|||
numberOfOptions: formData.options?.length,
|
||||
optionsView: formData?.view,
|
||||
tier: user.tier,
|
||||
$set: {
|
||||
last_poll_created_at: new Date().toISOString(),
|
||||
},
|
||||
});
|
||||
queryClient.invalidate();
|
||||
router.push(`/poll/${res.id}`);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue