prettier
This commit is contained in:
parent
1d95da7a3a
commit
f3b83b41f5
5 changed files with 10 additions and 19 deletions
|
|
@ -1,12 +1,10 @@
|
|||
|
||||
|
||||
// type Props = {
|
||||
// containerRef: React.MutableRefObject<HTMLElement | null>,
|
||||
// editorRef: React.MutableRefObject<HTMLElement | null>,
|
||||
// init: () => void
|
||||
// }
|
||||
export function Code(Props) {
|
||||
const {editorRef, containerRef, init} = Props;
|
||||
const { editorRef, containerRef, init } = Props;
|
||||
|
||||
return (
|
||||
<section
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@ import BigPlayButton from '@src/repl/components/BigPlayButton';
|
|||
import UserFacingErrorMessage from '@src/repl/components/UserFacingErrorMessage';
|
||||
import { Header } from './Header';
|
||||
|
||||
|
||||
// type Props = {
|
||||
// context: replcontext,
|
||||
// containerRef: React.MutableRefObject<HTMLElement | null>,
|
||||
|
|
@ -23,7 +22,7 @@ export default function ReplEditor(Props) {
|
|||
const showPanel = !isEmbedded;
|
||||
return (
|
||||
<ReplContext.Provider value={context}>
|
||||
<div className='h-full flex flex-col relative'>
|
||||
<div className="h-full flex flex-col relative">
|
||||
<Loader active={pending} />
|
||||
<Header context={context} />
|
||||
{isEmbedded && <BigPlayButton started={started} handleTogglePlay={handleTogglePlay} />}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue