import React from 'react'; import PropTypes from 'prop-types'; import { useSelector } from 'react-redux'; import Button from '../../../components/ui/button'; import { getMostRecentOverviewPage } from '../../../ducks/history/history'; import { useI18nContext } from '../../../hooks/useI18nContext'; import { Text } from '../../../components/component-library'; import { TextColor, BorderRadius, TypographyVariant, } from '../../../helpers/constants/design-system'; import Box from '../../../components/ui/box'; export default function InstitutionalEntityDonePage(props) { const mostRecentOverviewPage = useSelector(getMostRecentOverviewPage); const t = useI18nContext(); const { history, location } = props; const { state } = location; return ( Entity image {state.title} {state.description} ); } InstitutionalEntityDonePage.propTypes = { history: PropTypes.object, location: PropTypes.object, };