diff --git a/website/src/components/Udels/UdelsEditor.jsx b/website/src/components/Udels/UdelsEditor.jsx index 2d05640f..fe7a1ae4 100644 --- a/website/src/components/Udels/UdelsEditor.jsx +++ b/website/src/components/Udels/UdelsEditor.jsx @@ -1,5 +1,5 @@ import Loader from '@src/repl/components/Loader'; -import { Panel } from '@src/repl/components/panel/Panel'; +import { HorizontalPanel } from '@src/repl/components/panel/Panel'; import { Code } from '@src/repl/components/Code'; import BigPlayButton from '@src/repl/components/BigPlayButton'; import UserFacingErrorMessage from '@src/repl/components/UserFacingErrorMessage'; @@ -20,7 +20,7 @@ export default function UdelsEditor(Props) { - + ); } diff --git a/website/src/docs/MiniRepl.jsx b/website/src/docs/MiniRepl.jsx index 300adb0b..0f3d3ce1 100644 --- a/website/src/docs/MiniRepl.jsx +++ b/website/src/docs/MiniRepl.jsx @@ -1,7 +1,6 @@ import { useState, useRef, useCallback, useMemo, useEffect } from 'react'; import { Icon } from './Icon'; import { silence, noteToMidi, _mod } from '@strudel/core'; -import { clearHydra } from '@strudel/hydra'; import { getDrawContext, getPunchcardPainter } from '@strudel/draw'; import { transpiler } from '@strudel/transpiler'; import { getAudioContext, webaudioOutput, initAudioOnFirstClick } from '@strudel/webaudio'; diff --git a/website/src/repl/components/ReplEditor.jsx b/website/src/repl/components/ReplEditor.jsx index 83317bf3..5a1c2e67 100644 --- a/website/src/repl/components/ReplEditor.jsx +++ b/website/src/repl/components/ReplEditor.jsx @@ -1,5 +1,5 @@ import Loader from '@src/repl/components/Loader'; -import { Panel } from '@src/repl/components/panel/Panel'; +import { HorizontalPanel, VerticalPanel } from '@src/repl/components/panel/Panel'; import { Code } from '@src/repl/components/Code'; import UserFacingErrorMessage from '@src/repl/components/UserFacingErrorMessage'; import { Header } from './Header'; @@ -21,10 +21,10 @@ export default function ReplEditor(Props) {
- {panelPosition === 'right' && } + {panelPosition === 'right' && }
- {panelPosition === 'bottom' && } + {panelPosition === 'bottom' && } ); } diff --git a/website/src/repl/components/panel/ConsoleTab.jsx b/website/src/repl/components/panel/ConsoleTab.jsx index e1bbbe64..f0fca584 100644 --- a/website/src/repl/components/panel/ConsoleTab.jsx +++ b/website/src/repl/components/panel/ConsoleTab.jsx @@ -2,7 +2,7 @@ import cx from '@src/cx.mjs'; export function ConsoleTab({ log }) { return ( -
+