Show onboarding page if currency is not set

This commit is contained in:
Bilal
2020-10-06 14:15:35 +03:00
parent 21f88bd221
commit 6fb30209da
9 changed files with 163 additions and 54 deletions

View File

@@ -7,6 +7,7 @@ import WorkFlow from "./WorkFlow";
const Flow = (props) => {
const [flowType, setFlowType] = useState('cash');
const originalGangsta = props.originalGangsta;
return (
<div className="container">
@@ -18,7 +19,7 @@ const Flow = (props) => {
/>
</div>
{ flowType === 'cash' && <CashFlow /> }
{ flowType === 'cash' && <CashFlow originalGangsta={originalGangsta} /> }
{ flowType === 'work' && <WorkFlow /> }
</div>