()
| 4 | import HomePage from "./HomePage"; |
| 5 | |
| 6 | export default function Routes() { |
| 7 | const [showHome, setShowHome] = useState("false"); |
| 8 | ChangeNavigationService.checkShowHome(1) |
| 9 | .then((showHome) => { |
| 10 | setShowHome(showHome.showHome); |
| 11 | }) |
| 12 | .catch((err) => console.log(err)); |
| 13 | |
| 14 | return <>{showHome === "true" ? <HomePage /> : <AllPages />}</>; |
| 15 | } |
nothing calls this directly
no test coverage detected