Add callbacks back

pull/1240/head
Rick Carlino 2019-06-19 17:27:43 -05:00
parent 5ec5d7f05b
commit 1e2d8477a7
4 changed files with 5 additions and 4 deletions

View File

@ -3,6 +3,7 @@
@media screen and (min-width: 769px) {
.demo-phone {
display: none;
height: auto;
}
}

View File

@ -1 +1,2 @@
<h1 class="initial-loading-text">Loading...</h1>
<%# Intentionally blank template required by router for content generated by frontend. %>

View File

@ -22,7 +22,6 @@
<%= yield :head %>
</head>
<body>
<h1 class="initial-loading-text">Loading...</h1>
<%= yield %>
<%= javascript_include_tag *@js_assets %>
</body>

View File

@ -77,9 +77,9 @@ export class DemoLoader extends React.Component<{}, State> {
className="demo-phone"
src="https://cdn.shopify.com/s/files/1/2040/0289/files/Controls.png?9668345515035078097" />
<button className="demo-button">
DEMO THE APP
</button>
<button className="demo-button" onClick={this.requestAccount}>
{this.state.stage}
</button>
</div>;
};