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

This commit is contained in:
Peng Xiao
2023-09-08 01:41:27 +08:00
committed by GitHub
parent d54f027f50
commit bf3a3379ae
6 changed files with 5 additions and 24 deletions

View File

@@ -290,11 +290,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);
}