fix(BUG): Allow users to enter application if no sample data is provided (#478). (#538)

fix(BUG): Allow users to enter the application if no sample data is provided (#478). (#538)
This commit is contained in:
Aryan Shridhar 2021-12-24 11:53:53 +05:30 committed by GitHub
parent ff2e9ae084
commit f449775cd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,10 +31,7 @@ const Metrics = (): JSX.Element => {
history.push(to); history.push(to);
}; };
if ( if (services.length === 0 && loading === false && !skipOnboarding && error === true) {
(services.length === 0 && loading === false && !skipOnboarding) ||
(loading == false && error === true)
) {
return <SkipBoardModal onContinueClick={onContinueClick} />; return <SkipBoardModal onContinueClick={onContinueClick} />;
} }