fix issue where rescheduleUid missing when updating date (#418)

pull/420/head
Femi Odugbesan 2021-08-05 12:35:08 -05:00 committed by GitHub
parent bba99b07f5
commit 18eb32a576
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 3 deletions

View File

@ -49,9 +49,15 @@ export default function Type(props): Type {
router.replace(
{
query: {
date: formattedDate,
},
query: Object.assign(
{},
{
...router.query,
},
{
date: formattedDate,
}
),
},
undefined,
{