import React from 'react';
import RbacWrapper from '../../components/rbac-wrapper/rbac-wrapper.component';
import TimeTicketShift from '../../components/time-ticket-shift/time-ticket-shift.container';
import FeatureWrapperComponent from '../../components/feature-wrapper/feature-wrapper.component';

export default function ShiftClock() {
  return (
    <FeatureWrapperComponent featureName="timetickets">
      <RbacWrapper action="shiftclock:view">
        <TimeTicketShift />
      </RbacWrapper>
    </FeatureWrapperComponent>
  );
}
