Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add mobile detect and create pdf mobile component #24

Merged
merged 4 commits into from
Jun 14, 2018

Conversation

JordanMarquez
Copy link
Contributor

No description provided.

}
}

export default ElementQueryHock()(PdfStepMobile);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like you're not using ElementQueryHock() anymore, can you please remove it?

return <Box spruceName="PdfStep">
<Box className="PdfStep_document">
<Text element="p" modifier="block center">
The module has detected that you are using a mobile device. <br/>You can view the PDF document by clicking on the button below. <br/> Once you have read the document, please navigate back to this page to continue the module.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of " The module has detected...", can we say "We've detected..."?

//@flow
import React from 'react';
import type {Element} from 'react';
import ElementQueryHock from 'stampy/lib/hock/ElementQueryHock';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you're not using ElemenetQueryHock could you please remove it?

@JordanMarquez JordanMarquez changed the title add mobile detect and create pdf mobile component WIP add mobile detect and create pdf mobile component Jun 13, 2018
@JordanMarquez JordanMarquez changed the title WIP add mobile detect and create pdf mobile component add mobile detect and create pdf mobile component Jun 14, 2018
@JordanMarquez JordanMarquez merged commit 8c95f4a into release/post-ttp Jun 14, 2018
@JordanMarquez JordanMarquez deleted the feature/mobile-pdf-renderer branch June 14, 2018 00:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants