fix: disable set-db-location step (#4263)

This commit is contained in:
Peng Xiao
2023-09-08 01:41:27 +08:00
committed by LongYinan
parent fd05bb3e39
commit 4e5d426edf
6 changed files with 5 additions and 24 deletions
@@ -281,11 +281,7 @@ export const CreateWorkspaceModal = ({
console.error(err);
});
} else if (mode === 'new') {
setStep(
environment.isDesktop && runtimeConfig.enableSQLiteProvider
? 'set-db-location'
: 'name-workspace'
);
setStep('name-workspace');
} else {
setStep(undefined);
}