79184651

Date: 2024-11-13 11:25:39
Score: 0.5
Natty:
Report link

Have you tried passing the parameter like this?

router.push({
    pathname: '../routes/workoutDetail',
    params: {
        id: workout.id
    }
})

Also, using ../routes may not be the best approach for defining the pathname. It’s better to use the global namespace"

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Data Makharashvili