main
Jake Dexheimer 7 years ago
parent 0dc47db39f
commit c6be4f0295

@ -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) {

@ -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
}

Loading…
Cancel
Save