File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
- import { assertUnreachable } from ' @site/src/utils/assert' ;
2
- import type { Image , Mask } from ' image-js' ;
3
- import type { WritableDraft } from ' immer' ;
4
- import { produce } from ' immer' ;
5
- import { useReducer } from ' react' ;
1
+ import { assertUnreachable } from " @site/src/utils/assert" ;
2
+ import type { Image , Mask } from " image-js" ;
3
+ import type { WritableDraft } from " immer" ;
4
+ import { produce } from " immer" ;
5
+ import { useReducer } from " react" ;
6
6
7
- import type { Addon } from ' ../../utils/types' ;
8
- import type { ImageDemoInputOption } from ' ../importImage/importImageContext' ;
7
+ import type { Addon } from " ../../utils/types" ;
8
+ import type { ImageDemoInputOption } from " ../importImage/importImageContext" ;
9
9
10
10
export type DemoAction =
11
11
| {
@@ -88,7 +88,7 @@ function getInitialState(initial: DemoInitialConfig): DemoState {
88
88
return {
89
89
selectedImage : null ,
90
90
selectedDevice : null ,
91
- addon : null ,
91
+ addon : 'code' ,
92
92
code : initial . initialCode ,
93
93
noAutoRun : initial . noAutoRun || false ,
94
94
name : initial . name ,
You can’t perform that action at this time.
0 commit comments