diff --git a/client/src/app/main/dashboard/dashboard-create-ticket/dashboard-create-ticket-page.js b/client/src/app/main/dashboard/dashboard-create-ticket/dashboard-create-ticket-page.js index fe740a52..eb9f65a2 100644 --- a/client/src/app/main/dashboard/dashboard-create-ticket/dashboard-create-ticket-page.js +++ b/client/src/app/main/dashboard/dashboard-create-ticket/dashboard-create-ticket-page.js @@ -34,7 +34,7 @@ class DashboardCreateTicketPage extends React.Component { onCreateTicketSuccess(result, email, message) { if((this.props.location.pathname !== '/create-ticket')) { - history.push('/dashboard' + '?message=' + message); + history.push(`/dashboard?message=${message}`); } else { setTimeout(() => {history.push('/check-ticket/' + result.data.ticketNumber + '/' + email)}, 1000); }