From 844abd38cead642e6b375e00532070f7134e69ec Mon Sep 17 00:00:00 2001 From: jPalmer Date: Wed, 31 Jan 2018 11:28:09 -0800 Subject: [PATCH] added missing glyphs property check on styleChanged - addresses #229 --- src/components/App.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/App.jsx b/src/components/App.jsx index 919e151..51992d8 100644 --- a/src/components/App.jsx +++ b/src/components/App.jsx @@ -117,10 +117,9 @@ export default class App extends React.Component { this.setState({ errors:[error] }) - console.error(error) return } - + if(newStyle.glyphs !== this.state.mapStyle.glyphs) { this.updateFonts(newStyle.glyphs) }