Skip to content

Commit 5d4dae5

Browse files
committed
format code
1 parent 403007e commit 5d4dae5

File tree

1 file changed

+3
-6
lines changed
  • packages/solid-repl/src/components

1 file changed

+3
-6
lines changed

packages/solid-repl/src/components/repl.tsx

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const compileMode = {
1919
SSR: { generate: 'ssr', hydratable: true },
2020
DOM: { generate: 'dom', hydratable: false },
2121
HYDRATABLE: { generate: 'dom', hydratable: true },
22-
UNIVERSAL: { generate: 'universal', hydratable: false, moduleName: "solid-universal-module" as string },
22+
UNIVERSAL: { generate: 'universal', hydratable: false, moduleName: 'solid-universal-module' as string },
2323
} as const;
2424

2525
const findExtension = (str: string): '.tsx' | '.jsx' => {
@@ -170,10 +170,7 @@ export const Repl: ReplProps = (props) => {
170170
const compile = () => {
171171
let compileOpts = mode();
172172
if (compileOpts === compileMode.UNIVERSAL) {
173-
compileOpts = { generate: 'universal',
174-
hydratable: false,
175-
moduleName: universalModuleName()
176-
}
173+
compileOpts = { generate: 'universal', hydratable: false, moduleName: universalModuleName() };
177174
}
178175
applyCompilation(
179176
outputTab() == 0
@@ -235,7 +232,7 @@ export const Repl: ReplProps = (props) => {
235232
return (
236233
<div
237234
ref={grid}
238-
class="dark:bg-solid-darkbg flex min-h-0 h-full flex-1 flex-col bg-white font-sans text-black dark:text-white"
235+
class="dark:bg-solid-darkbg flex h-full min-h-0 flex-1 flex-col bg-white font-sans text-black dark:text-white"
239236
classList={{
240237
'md:flex-row': !props.isHorizontal,
241238
'dark': props.dark,

0 commit comments

Comments
 (0)