Haki Benita
1 min readApr 22, 2018

--

Hey, this really depends on your implementation.

In my case the form action returns two objects — the Balance object and the corresponding Record object. If your implementation requires only one object his is why you are getting the error “need more than one value to unpack”.

Change the function to return the object you want to redirect to.

--

--

Haki Benita
Haki Benita

Written by Haki Benita

Full Stack Developer, Team Leader, Independent. More from me at https://hakibenita.com

No responses yet