import { useWalkthroughCheckInPage } from '@/business/walkthrough/hooks';
import { WalkthroughCheckInView } from '@/components/walkthrough-checkin/WalkthroughCheckInView';

interface WalkThroughCheckInProps {
  readonly userName: string;
}

const WalkThroughCheckIn = ({ userName }: WalkThroughCheckInProps) => {
  const page = useWalkthroughCheckInPage(userName);

  return <WalkthroughCheckInView page={page} />;
};

export default WalkThroughCheckIn;
