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:
-
We will compile a crash report that contains everything needed to recreate this problem
-
We will include personal data such as your username,
email address and measurements
-
We will share this report and the data in it with FreeSewing's bughunters team who will investigate the problem on your behalf
- Your personal data will not be shared publicly
If you prefer not to share any info, or want to investigate the problem yourself, you can do so:
-
Check the
- Check the partially rendered pattern below to see which areas are problematic
)
}
export default Error