File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -154,6 +154,12 @@ function handleHash(hash: string, props: PlaygroundProps) {
154
154
props . handleEditorValueChange ( program ) ;
155
155
}
156
156
157
+ const ext =
158
+ Object . values ( ExternalLibraryName ) . find ( v => v === qs . ext ) || ExternalLibraryName . NONE ;
159
+ if ( ext ) {
160
+ props . handleExternalSelect ( ext , true ) ;
161
+ }
162
+
157
163
const chapter = stringParamToInt ( qs . chap ) || undefined ;
158
164
const variant : Variant =
159
165
sourceLanguages . find (
@@ -163,12 +169,6 @@ function handleHash(hash: string, props: PlaygroundProps) {
163
169
props . handleChapterSelect ( chapter , variant ) ;
164
170
}
165
171
166
- const ext =
167
- Object . values ( ExternalLibraryName ) . find ( v => v === qs . ext ) || ExternalLibraryName . NONE ;
168
- if ( ext ) {
169
- props . handleExternalSelect ( ext , true ) ;
170
- }
171
-
172
172
const execTime = Math . max ( stringParamToInt ( qs . exec || '1000' ) || 1000 , 1000 ) ;
173
173
if ( execTime ) {
174
174
props . handleChangeExecTime ( execTime ) ;
You can’t perform that action at this time.
0 commit comments