import React, { ReactElement } from 'react';
import TourFlowManager from '../../components/TourFlowManager';
import LayoutAuthenticated from '../../layouts/Authenticated';

const TransitionsTablesPage = () => <TourFlowManager />;

TransitionsTablesPage.getLayout = function getLayout(page: ReactElement) {
  return <LayoutAuthenticated permission={'READ_TRANSITIONS'}>{page}</LayoutAuthenticated>;
};

export default TransitionsTablesPage;
