import { useState } from 'react' import Robot from 'shared/components/robot/index.js' import Popout from 'shared/components/popout.js' import { useTranslation } from 'next-i18next' const Error = ({ draft, patternProps, error, updateGist }) => { const { t } = useTranslation(['errors']) const [share, setShare] = useState(false) return (

{t('errors:something')}

Don't be alarmed, but we ran into some trouble while drafting this pattern.

Would you like to report this problem?

You can help us make FreeSewing better by reporting this problem.

If you choose to report this:

If you rather not share any info, or investigate the problem yourself, you can do so:

) } export default Error