Update the getRoute function call to pass the method object and no longer use the navigate option.
Update the getRoute function call to pass the method object and no longer use the navigate option.

doug-wade/react-server,lidawang/react-server,emecell/react-server,szhou8813/react-server,emecell/react-server,davidalber/react-server,davidalber/react-server,szhou8813/react-server,redfin/react-server,lidawang/react-server,redfin/react-server,doug-wade/react-server