| 43 | import history from "./history"; |
| 44 | |
| 45 | interface IProps extends Omit<RouterProps, "location" | "navigationType" | "navigator"> { |
| 46 | history: typeof history; |
| 47 | children: (ReactElement | undefined)[]; |
| 48 | } |
| 49 | |
| 50 | const CustomRouter = ({ history, ...props }: IProps) => { |
| 51 | const [state, setState] = useState({ |
nothing calls this directly
no outgoing calls
no test coverage detected