From fe330f9f9fffeefac0c7f66b0bd06bf00ba057be Mon Sep 17 00:00:00 2001 From: nickofolas Date: Sun, 24 Apr 2022 16:51:00 -0500 Subject: [PATCH] Update root --- src/Infiltration/ui/InfiltrationRoot.tsx | 36 ++++++++++++------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/src/Infiltration/ui/InfiltrationRoot.tsx b/src/Infiltration/ui/InfiltrationRoot.tsx index 1c78b5b19..53370ecbd 100644 --- a/src/Infiltration/ui/InfiltrationRoot.tsx +++ b/src/Infiltration/ui/InfiltrationRoot.tsx @@ -22,24 +22,24 @@ export function InfiltrationRoot(props: IProps): React.ReactElement { router.toCity(); } - if (!start) { - return ( - setStart(true)} - cancel={cancel} - /> - ); - } - return ( - +
+ {start ? ( + + ) : ( + setStart(true)} + cancel={cancel} + /> + )} +
); }