Skip to content

Commit

Permalink
Typo Fix in Readme (#693)
Browse files Browse the repository at this point in the history
The component class should be Map but not Button in the example.
  • Loading branch information
kmandov authored and goto-bus-stop committed Feb 12, 2019
1 parent b9bb656 commit 5921d27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ var html = require('choo/html')
var mapboxgl = require('mapbox-gl')
var Component = require('choo/component')

module.exports = class Button extends Component {
module.exports = class Map extends Component {
constructor (id, state, emit) {
super(id)
this.local = state.components[id] = {}
Expand Down

0 comments on commit 5921d27

Please sign in to comment.