How do you switch grip shifters from shifting as if they were on the opposite derailleur?
It sounds like you have accidently mixed up the cables and routed the front dérailleur cable to the rear shifter and vice versa.

You can change them so that the front shifter goes to the front dérailleur pretty easily. Just swap them at the shifters.