Add callbacks back
parent
5ec5d7f05b
commit
1e2d8477a7
|
@ -3,6 +3,7 @@
|
|||
@media screen and (min-width: 769px) {
|
||||
.demo-phone {
|
||||
display: none;
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
<h1 class="initial-loading-text">Loading...</h1>
|
||||
<%# Intentionally blank template required by router for content generated by frontend. %>
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
<%= yield :head %>
|
||||
</head>
|
||||
<body>
|
||||
<h1 class="initial-loading-text">Loading...</h1>
|
||||
<%= yield %>
|
||||
<%= javascript_include_tag *@js_assets %>
|
||||
</body>
|
||||
|
|
|
@ -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>;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue