main
Jake Dexheimer 7 years ago
parent 0dc47db39f
commit c6be4f0295

@ -183,8 +183,7 @@ class Carbon extends React.Component {
right: 0px; right: 0px;
bottom: 0px; bottom: 0px;
left: 0px; left: 0px;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAMUlEQVQ4T2NkYGAQYcAP3uCTZhw1gGGYhAGBZIA/nYDCgBDAm9BGDWAAJyRCgLaBCAAgXwixzAS0pgAAAABJRU5ErkJggg==) background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAMUlEQVQ4T2NkYGAQYcAP3uCTZhw1gGGYhAGBZIA/nYDCgBDAm9BGDWAAJyRCgLaBCAAgXwixzAS0pgAAAABJRU5ErkJggg==);
left center;
} }
#container :global(.cm-s-dracula .CodeMirror-cursor) { #container :global(.cm-s-dracula .CodeMirror-cursor) {

@ -72,14 +72,14 @@ const keysToQuery = keys =>
export const getQueryStringState = query => { export const getQueryStringState = query => {
if (query.state) { if (query.state) {
return deserializeState(query.state) return deserializeState(query.state)
} else { } else {
const state = mapper.map(mappings, query) const state = mapper.map(mappings, query)
deserializeCode(state) deserializeCode(state)
Object.keys(state).forEach(key => { Object.keys(state).forEach(key => {
if (state[key] === '') state[key] = undefined if (state[key] === '') state[key] = undefined
}) })
return state return state
} }

Loading…
Cancel
Save