fix: place whole string in literal

This commit is contained in:
Sérgio Salgado 2021-03-16 12:52:06 +00:00 committed by Josh Harvey
parent cec919297e
commit c9521db7b3

View file

@ -54,7 +54,7 @@ const MachinesTable = ({ machines, numToRender }) => {
}
const redirect = ({ name, deviceId }) => {
return history.push('/machines/' + `${deviceId}`, {
return history.push(`/machines/${deviceId}`, {
selectedMachine: name
})
}