From 5921d27648bd4fa1e1c4a1b219696fd00a479e84 Mon Sep 17 00:00:00 2001 From: Kiril Date: Wed, 13 Feb 2019 00:34:36 +0200 Subject: [PATCH] Typo Fix in Readme (#693) The component class should be Map but not Button in the example. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6c9cbeec..4b5855e5 100644 --- a/README.md +++ b/README.md @@ -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] = {}