Web: Client: fix confirmLinkData

This commit is contained in:
Viktor Fomin 2022-07-08 16:22:08 +03:00
parent 0da612710d
commit 6a690fc175

View File

@ -43,9 +43,7 @@ class ConfirmRoute extends React.Component {
.then((validationResult) => { .then((validationResult) => {
switch (validationResult) { switch (validationResult) {
case ValidationResult.Ok: case ValidationResult.Ok:
const confirmHeader = `type=${confirmLinkData.type}&${search.slice( const confirmHeader = `${confirmLinkData}&${search.slice(1)}`;
1
)}`;
const linkData = { const linkData = {
...confirmLinkData, ...confirmLinkData,
confirmHeader, confirmHeader,