diff --git a/renderer/components/QueryEditor/onHasCompletion.js b/renderer/components/QueryEditor/onHasCompletion.js index f88dd7336..107f91ed8 100644 --- a/renderer/components/QueryEditor/onHasCompletion.js +++ b/renderer/components/QueryEditor/onHasCompletion.js @@ -70,11 +70,11 @@ export default function onHasCompletion( ? md.render(ctx.description) : 'Self descriptive.'; const type = ctx.type - ? '' + renderType(ctx.type) + '' + ? '' + renderType(ctx.type) + '' : ''; information.innerHTML = - '
' + + '
' + (description.slice(0, 3) === '

' ? '

' + type + description.slice(3) : type + description) + @@ -85,7 +85,7 @@ export default function onHasCompletion( ? md.render(ctx.deprecationReason) : ''; deprecation.innerHTML = - 'Deprecated' + reason; + 'Deprecated' + reason; deprecation.style.display = 'block'; } else if (deprecation) { deprecation.style.display = 'none'; @@ -106,5 +106,5 @@ function renderType(type) { if (type instanceof GraphQLList) { return `[${renderType(type.ofType)}]`; } - return `${escapeHTML(type.name)}`; + return `${escapeHTML(type.name)}`; } diff --git a/renderer/components/RequestTabs/index.js b/renderer/components/RequestTabs/index.js index 0e36efc9a..1c21ae4f6 100644 --- a/renderer/components/RequestTabs/index.js +++ b/renderer/components/RequestTabs/index.js @@ -67,7 +67,6 @@ const RequestTabs = () => { } const activeRequestTab = find(requestTabs, (t) => t.uid === activeRequestTabUid); - console.log(requestTabs); if(!activeRequestTab) { return ( @@ -104,7 +103,7 @@ const RequestTabs = () => { ) : ( - + ) } diff --git a/renderer/components/Sidebar/TitleBar/index.js b/renderer/components/Sidebar/TitleBar/index.js index 10d6256bb..f0f796b9b 100644 --- a/renderer/components/Sidebar/TitleBar/index.js +++ b/renderer/components/Sidebar/TitleBar/index.js @@ -53,7 +53,7 @@ const TitleBar = () => { saveCollectionToIdb(store.idbConnection, newCollection) .then(() => console.log('Collection created')) .catch((err) => { - console.log(err); + console.error(err); setShowToast({ show: true, type: 'error',