Skip to content

Commit b5f8b6e

Browse files
committed
make <FakeBrowser> a little better, still buggy :\
1 parent 507ec34 commit b5f8b6e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

website/components/FakeBrowser/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,9 @@ class FakeBrowser extends React.Component {
139139
paddingLeft={`${PAD*1.25}px`}
140140
color={GRAY}
141141
type="text"
142-
value={createPathWithQuery(location)}
142+
value={createPathWithQuery(this.state.location || location)}
143143
onChange={(e) => {
144+
console.log(e.target.value)
144145
this.setState({
145146
location: e.target.value
146147
})

0 commit comments

Comments
 (0)