import { Suspense, useState } from 'react'; import { useThingtime } from '../Thingtime/useThingtime'; import { Flex, Heading, Box } from '@chakra-ui/react'; import Editor from '@monaco-editor/react'; export const Raw = () => { const { thingtime } = useThingtime(); const [rawValue, setRawValue] = useState(thingtime?.rawValue || '// Raw'); return ( Raw {/* only on client side render editor */} Loading...}> {/* {editor} */} ; ); };