From c6be4f0295c42c247debfdb05aee2f5a7ca0992f Mon Sep 17 00:00:00 2001 From: Jake Dexheimer Date: Fri, 16 Mar 2018 19:14:37 -0500 Subject: [PATCH] prettier --- components/Carbon.js | 3 +-- lib/routing.js | 10 +++++----- 2 files changed, 6 insertions(+), 7 deletions(-) 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 }