diff --git a/components/Carbon.js b/components/Carbon.js index 65804e0..5d7e37b 100644 --- a/components/Carbon.js +++ b/components/Carbon.js @@ -183,8 +183,7 @@ class Carbon extends React.Component { right: 0px; bottom: 0px; left: 0px; - background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAMUlEQVQ4T2NkYGAQYcAP3uCTZhw1gGGYhAGBZIA/nYDCgBDAm9BGDWAAJyRCgLaBCAAgXwixzAS0pgAAAABJRU5ErkJggg==) - left center; + background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAMUlEQVQ4T2NkYGAQYcAP3uCTZhw1gGGYhAGBZIA/nYDCgBDAm9BGDWAAJyRCgLaBCAAgXwixzAS0pgAAAABJRU5ErkJggg==); } #container :global(.cm-s-dracula .CodeMirror-cursor) { diff --git a/lib/routing.js b/lib/routing.js index 306a79f..d378328 100644 --- a/lib/routing.js +++ b/lib/routing.js @@ -72,14 +72,14 @@ const keysToQuery = keys => export const getQueryStringState = query => { if (query.state) { - return deserializeState(query.state) + return deserializeState(query.state) } else { const state = mapper.map(mappings, query) - deserializeCode(state) + deserializeCode(state) - Object.keys(state).forEach(key => { - if (state[key] === '') state[key] = undefined - }) + Object.keys(state).forEach(key => { + if (state[key] === '') state[key] = undefined + }) return state }