fix: place whole string in literal
This commit is contained in:
parent
cec919297e
commit
c9521db7b3
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ const MachinesTable = ({ machines, numToRender }) => {
|
|||
}
|
||||
|
||||
const redirect = ({ name, deviceId }) => {
|
||||
return history.push('/machines/' + `${deviceId}`, {
|
||||
return history.push(`/machines/${deviceId}`, {
|
||||
selectedMachine: name
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue