Next Js Multiple Variable Assignment Is Not Allowed