diff --git a/src/components/CodeInput.tsx b/src/components/CodeInput.tsx index 5f2a6f8..fea4ae4 100644 --- a/src/components/CodeInput.tsx +++ b/src/components/CodeInput.tsx @@ -1,4 +1,5 @@ import { createStyles, MantineSize, Textarea } from '@mantine/core'; +import { useEffect } from 'react'; const useStyles = createStyles((theme, { size }: { size: MantineSize }) => ({ input: { @@ -11,5 +12,26 @@ const useStyles = createStyles((theme, { size }: { size: MantineSize }) => ({ export default function CodeInput({ ...props }) { const { classes } = useStyles({ size: 'md' }, { name: 'CodeInput' }); - return