({ context, send }: ContainerProps)
| 142 | } |
| 143 | |
| 144 | const StartPageContainer = ({ context, send }: ContainerProps) => { |
| 145 | const progress = getProgress(context?.tutorial?.levels, context.position) |
| 146 | return ( |
| 147 | <StartPage |
| 148 | onContinue={() => send({ type: 'CONTINUE_TUTORIAL' })} |
| 149 | onNew={() => send({ type: 'NEW_TUTORIAL' })} |
| 150 | tutorial={context.tutorial} |
| 151 | progress={progress} |
| 152 | /> |
| 153 | ) |
| 154 | } |
| 155 | |
| 156 | export default StartPageContainer |
nothing calls this directly
no test coverage detected