import React, { useCallback } from 'react'; import { Button, Intent } from '@blueprintjs/core'; import { useHistory } from "react-router-dom"; import WorkflowIcon from './WorkflowIcon'; import withOrganizationActions from 'containers/Organization/withOrganizationActions'; import 'style/pages/Setup/Congrats.scss'; import { compose } from 'utils'; /** * Setup congrats page. */ function SetupCongratsPage({ setOrganizationSetupCompleted, }) { const history = useHistory(); const handleBtnClick = useCallback(() => { setOrganizationSetupCompleted(false); history.push('/'); }, [ setOrganizationSetupCompleted, history, ]); return (
It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout.