Skip to content

Commit f2d6f60

Browse files
jrainvilleiurimatias
authored andcommitted
chore(browser): change Go to refresh since that's what they do
1 parent 1ccc3e7 commit f2d6f60

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

embark-ui/src/components/Preview.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import React from 'react';
22
import {Button, InputGroup, Input, InputGroupAddon} from 'reactstrap';
3+
import FontAwesome from 'react-fontawesome';
34

45
class Preview extends React.Component {
56
constructor(props) {
@@ -31,9 +32,11 @@ class Preview extends React.Component {
3132
<InputGroup>
3233
<Input placeholder="URL"
3334
value={this.state.previewUrl}
34-
onChange={(e) => this.handlePreviewUrlChange(e)} />
35+
onChange={(e) => this.handlePreviewUrlChange(e)}/>
3536
<InputGroupAddon addonType="append">
36-
<Button className="ml-auto" color="primary" onClick={(e) => this.handlePreviewGo(e)}>Go</Button>
37+
<Button className="ml-auto" color="primary" onClick={(e) => this.handlePreviewGo(e)}>
38+
<FontAwesome name="refresh"/>
39+
</Button>
3740
</InputGroupAddon>
3841
</InputGroup>
3942
<iframe width="100%"

0 commit comments

Comments
 (0)