@@ -43,7 +43,7 @@ import {
4343} from "./Output" ;
4444
4545function parseFunctions (
46- source : string ,
46+ source : string
4747) : Array <
4848 NodePath <
4949 t . FunctionDeclaration | t . ArrowFunctionExpression | t . FunctionExpression
@@ -148,7 +148,7 @@ function isHookName(s: string): boolean {
148148}
149149
150150function getReactFunctionType (
151- id : NodePath < t . Identifier | null | undefined > ,
151+ id : NodePath < t . Identifier | null | undefined >
152152) : ReactFunctionType {
153153 if ( id && id . node && id . isIdentifier ( ) ) {
154154 if ( isHookName ( id . node . name ) ) {
@@ -189,7 +189,7 @@ function compile(source: string): CompilerOutput {
189189 severity : ErrorSeverity . Todo ,
190190 loc : fn . node . loc ?? null ,
191191 suggestions : null ,
192- } ) ,
192+ } )
193193 ) ;
194194 continue ;
195195 }
@@ -205,7 +205,7 @@ function compile(source: string): CompilerOutput {
205205 "_c" ,
206206 null ,
207207 null ,
208- null ,
208+ null
209209 ) ) {
210210 const fnName = fn . node . id ?. name ?? null ;
211211 switch ( result . kind ) {
@@ -274,7 +274,7 @@ function compile(source: string): CompilerOutput {
274274 reason : `Unexpected failure when transforming input! ${ err } ` ,
275275 loc : null ,
276276 suggestions : null ,
277- } ) ,
277+ } )
278278 ) ;
279279 }
280280 }
@@ -291,7 +291,7 @@ export default function Editor() {
291291 const { enqueueSnackbar } = useSnackbar ( ) ;
292292 const compilerOutput = useMemo (
293293 ( ) => compile ( deferredStore . source ) ,
294- [ deferredStore . source ] ,
294+ [ deferredStore . source ]
295295 ) ;
296296
297297 useMountEffect ( ( ) => {
@@ -305,7 +305,7 @@ export default function Editor() {
305305 ...createMessage (
306306 "Bad URL - fell back to the default Playground." ,
307307 MessageLevel . Info ,
308- MessageSource . Playground ,
308+ MessageSource . Playground
309309 ) ,
310310 } ) ;
311311 mountStore = defaultStore ;
@@ -319,9 +319,7 @@ export default function Editor() {
319319 return (
320320 < >
321321 < div className = "relative flex basis top-14" >
322- < div
323- className = { clsx ( "relative sm:basis-1/4" ) }
324- >
322+ < div className = { clsx ( "relative sm:basis-1/4" ) } >
325323 < Input
326324 errors = {
327325 compilerOutput . kind === "err" ? compilerOutput . error . details : [ ]
0 commit comments