diff --git a/app/gui/src/dashboard/components/EditableSpan.tsx b/app/gui/src/dashboard/components/EditableSpan.tsx index 71f758639847..060f04e12963 100644 --- a/app/gui/src/dashboard/components/EditableSpan.tsx +++ b/app/gui/src/dashboard/components/EditableSpan.tsx @@ -15,6 +15,7 @@ import { AnimatePresence, motion, type Variants } from 'framer-motion' import { useLayoutEffect } from 'react' import type { z } from 'zod' +// eslint-disable-next-line no-restricted-syntax const MotionText = motion(Text) /** @@ -42,16 +43,16 @@ export default function EditableSpan(props: EditableSpanProps) { {editable && } {!editable && ( - - - {children} - - + {children} + )} ) @@ -263,16 +264,20 @@ function ErrorMessage(props: ErrorMessageProps) { >