Probably your id
that pass into in navigate
is undefined
or null
.console your id and fix and then pass into in navigate .i had same issue and fixed it.
Probably your id
that pass into in navigate
is undefined
or null
.console your id and fix and then pass into in navigate .i had same issue and fixed it.