/* eslint-disable react/no-danger */ import * as React from "react"; import { Switch, Route, Redirect } from "react-router-dom"; import { Helmet } from "react-helmet"; import { ThemeProvider } from "styled-components"; import { Normalize } from "styled-normalize"; import { Index } from "app/Routes"; import routes from "app/consts/routes"; import { Theme } from "app/styles/theme"; import { IntlRaw } from "app/records/Intl"; import InitIntl from "app/components/InitIntl"; import { Provider as IntlProvider } from "app/services/intl/context"; type Props = { theme: Theme; intlRaw: IntlRaw; }; const Root = ({ theme, intlRaw }: Props) => ( {intl => ( } /> )} ); export default Root;