/** * Copyright (c) 2013-present, Facebook, Inc. * * @emails react-core * @flow */ 'use strict'; import Container from 'components/Container'; import ErrorDecoder from 'components/ErrorDecoder'; import Flex from 'components/Flex'; import hex2rgba from 'hex2rgba'; import MarkdownHeader from 'components/MarkdownHeader'; import React from 'react'; import StickyResponsiveSidebar from 'components/StickyResponsiveSidebar'; import TitleAndMetaTags from 'components/TitleAndMetaTags'; import {colors, sharedStyles} from 'theme'; import {createLinkDocs} from 'utils/createLink'; import findSectionForPath from 'utils/findSectionForPath'; import {sectionListDocs} from 'utils/sectionList'; type Props = { data: Object, location: Location, }; const ErrorPage = ({data, location}: Props) => (
); // eslint-disable-next-line no-undef export const pageQuery = graphql` query ErrorPageMarkdown($slug: String!) { markdownRemark(fields: {slug: {eq: $slug}}) { html fields { path } frontmatter { title } } errorCodesJson { internal { contentDigest } } } `; export default ErrorPage;