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

This commit is contained in:
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

View file

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