File tree Expand file tree Collapse file tree 2 files changed +8
-12
lines changed
app/src/app/pages/common/Modals/ShareModal Expand file tree Collapse file tree 2 files changed +8
-12
lines changed Original file line number Diff line number Diff line change 11import { Button } from '@codesandbox/common/lib/components/Button' ;
22import track from '@codesandbox/common/lib/utils/analytics' ;
3- import { EMBED_LIGHT_THEME } from '@codesandbox/common/lib/utils/feature-flags' ;
43import { getSandboxName } from '@codesandbox/common/lib/utils/get-sandbox-name' ;
54import { sandboxUrl } from '@codesandbox/common/lib/utils/url-generator' ;
65import { useOvermind } from 'app/overmind' ;
@@ -147,15 +146,13 @@ export const ShareModal: React.FC<Props> = () => {
147146 value = { view }
148147 setValue = { setView }
149148 />
150- { EMBED_LIGHT_THEME && (
151- < PaddedPreference
152- title = "Theme"
153- type = "dropdown"
154- options = { THEME_OPTIONS }
155- value = { theme }
156- setValue = { setTheme }
157- />
158- ) }
149+ < PaddedPreference
150+ title = "Theme"
151+ type = "dropdown"
152+ options = { THEME_OPTIONS }
153+ value = { theme }
154+ setValue = { setTheme }
155+ />
159156 < PaddedPreference
160157 title = "Auto resize"
161158 type = "boolean"
@@ -213,7 +210,7 @@ export const ShareModal: React.FC<Props> = () => {
213210 < h4 > Default module to show</ h4 >
214211
215212 < FilesContainer >
216- { /*
213+ { /*
217214 // @ts -ignore */ }
218215 < Files
219216 modules = { sandbox . modules }
Original file line number Diff line number Diff line change 66 it's a JS file, so you can add whatever logic you want as long as it's static
77*/
88
9- export const EMBED_LIGHT_THEME = true ;
109export const REDESIGNED_SIDEBAR = localStorage . REDESIGNED_SIDEBAR || false ;
You can’t perform that action at this time.
0 commit comments