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

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

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

export default Tour_pagesTablesPage;
