|
1 | 1 | import React, { forwardRef, useRef, useState, useEffect, KeyboardEvent } from 'react'; |
2 | 2 | import { observer } from 'mobx-react'; |
3 | | -import { Frame, Title, Label, Button, Icon, Input, Error, Header, Phrase } from 'Component'; |
| 3 | +import { Frame, Title, Label, Button, Icon, Input, Error, Header, Phrase, Footer } from 'Component'; |
4 | 4 | import { I, C, S, U, translate, Animation, analytics, keyboard, Renderer, Onboarding } from 'Lib'; |
5 | 5 | import { set } from 'lodash'; |
6 | 6 |
|
@@ -220,6 +220,7 @@ const PageAuthOnboard = observer(forwardRef<I.PageRef, I.PageComponent>((props, |
220 | 220 | let content = null; |
221 | 221 | let additional = null; |
222 | 222 | let buttons = null; |
| 223 | + let footer = null; |
223 | 224 |
|
224 | 225 | switch (stage) { |
225 | 226 | case Stage.Phrase: { |
@@ -290,6 +291,8 @@ const PageAuthOnboard = observer(forwardRef<I.PageRef, I.PageComponent>((props, |
290 | 291 | </div> |
291 | 292 | </> |
292 | 293 | ); |
| 294 | + |
| 295 | + footer = <Footer {...props} component="authOnboardEmail" />; |
293 | 296 | break; |
294 | 297 | }; |
295 | 298 |
|
@@ -385,6 +388,8 @@ const PageAuthOnboard = observer(forwardRef<I.PageRef, I.PageComponent>((props, |
385 | 388 | <Error className="animation" text={error} /> |
386 | 389 | <div className="buttons">{buttons}</div> |
387 | 390 | </Frame> |
| 391 | + |
| 392 | + {footer} |
388 | 393 | </div> |
389 | 394 | ); |
390 | 395 |
|
|
0 commit comments