On this Image, you can see I made some data to be passed on.
And i passed it by using the .map function and populate it on the to={} property
Im getting this error
"Uncaught TypeError: Cannot read properties of undefined (reading 'pathname')"
even though i passed the data on the to={} property
You can check this snippet for reference.