workflow.tsx 490 B

123456789101112131415161718
  1. import { useIntl } from "react-intl";
  2. import Workflow from "../../../components/task/Workflow";
  3. import { useAppSelector } from "../../../hooks";
  4. import { currentUser } from "../../../reducers/current-user";
  5. const Widget = () => {
  6. const currUser = useAppSelector(currentUser);
  7. const intl = useIntl();
  8. return (
  9. <>
  10. <title>{intl.formatMessage({ id: "labels.task.workflows" })}</title>
  11. <Workflow studioName={currUser?.realName} />
  12. </>
  13. );
  14. };
  15. export default Widget;