import useHuGoTheme from 'src/hooks/useHuGoTheme';

import ShiftsRepositoryContent from './ShiftsRepositoryContent';
import { ShiftsSelectionProvider } from '../../contexts/ShiftsSelectionContext';

const ShiftsRepository = () => {
  const HuGoThemeProvider = useHuGoTheme();

  return (
    <HuGoThemeProvider>
      <ShiftsSelectionProvider>
        <ShiftsRepositoryContent />
      </ShiftsSelectionProvider>
    </HuGoThemeProvider>
  );
};

export default ShiftsRepository;
