File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -29,12 +29,14 @@ import { validateProjectName } from "../project-name";
29
29
import { useStore } from "../store" ;
30
30
import { createDataSamplesPageUrl } from "../urls" ;
31
31
import { ButtonWithLoading } from "../components/ButtonWithLoading" ;
32
+ import { setEditorVersionOverride } from "../editor-version" ;
32
33
33
34
const ImportPage = ( ) => {
34
35
const intl = useIntl ( ) ;
35
36
const navigate = useNavigate ( ) ;
36
37
const { activitiesBaseUrl } = useDeployment ( ) ;
37
38
const [ params ] = useSearchParams ( ) ;
39
+ setEditorVersionOverride ( params . get ( "editorVersion" ) || undefined ) ;
38
40
const defaultProjectName = useDefaultProjectName ( ) ;
39
41
const [ name , setName ] = useState < string > ( defaultProjectName ) ;
40
42
const isValidSetup = validateProjectName ( name ) ;
You can’t perform that action at this time.
0 commit comments