import React, { FC } from 'react' import Layout from '../Layout' type Props = { error: any } const Error: FC = ({ error }) => (
Something went wrong.
{JSON.stringify(error, null, 2)}
) export default Error