diff --git a/web/source/settings-panel/components/login.jsx b/web/source/settings-panel/components/login.jsx index 86d9c6a12..c67e99acd 100644 --- a/web/source/settings-panel/components/login.jsx +++ b/web/source/settings-panel/components/login.jsx @@ -35,7 +35,6 @@ module.exports = function Login({error}) { // check if current domain runs an instance let currentDomain = window.location.origin; Promise.try(() => { - console.log("trying", currentDomain); return dispatch(api.instance.fetchWithoutStore(currentDomain)); }).then(() => { if (instanceFieldRef.current.length == 0) { // user hasn't started typing yet diff --git a/web/source/settings-panel/lib/api/admin.js b/web/source/settings-panel/lib/api/admin.js index 421bdf8cd..1df47b693 100644 --- a/web/source/settings-panel/lib/api/admin.js +++ b/web/source/settings-panel/lib/api/admin.js @@ -120,7 +120,6 @@ module.exports = function ({ apiCall, getChanges }) { if (domains.length == 0) { return; } - console.log(domains); const update = { domains: new Blob([JSON.stringify(domains)], {type: "application/json"}) diff --git a/web/source/settings-panel/lib/api/oauth.js b/web/source/settings-panel/lib/api/oauth.js index 4067f5a75..76d0e9d2f 100644 --- a/web/source/settings-panel/lib/api/oauth.js +++ b/web/source/settings-panel/lib/api/oauth.js @@ -82,7 +82,6 @@ module.exports = function oauthAPI({ apiCall, getCurrentUrl }) { code: code })); }).then((json) => { - console.log(json); window.history.replaceState({}, document.title, window.location.pathname); return dispatch(oauth.login(json)); }); @@ -110,8 +109,6 @@ module.exports = function oauthAPI({ apiCall, getCurrentUrl }) { ]); }).catch(AuthenticationError, () => { return dispatch(oauth.setAdmin(false)); - }).catch((e) => { - console.log("caught", e, e instanceof AuthenticationError); }); }; }, diff --git a/web/source/settings-panel/lib/get-views.js b/web/source/settings-panel/lib/get-views.js index 01031747e..39f627435 100644 --- a/web/source/settings-panel/lib/get-views.js +++ b/web/source/settings-panel/lib/get-views.js @@ -51,12 +51,9 @@ module.exports = function getViews(struct) { delete entries.adminOnly; } - console.log(name, entries); - let base = `/settings/${urlSafe(name)}`; let links = []; - let routes = []; let firstRoute; @@ -87,16 +84,6 @@ module.exports = function getViews(struct) { ); - // let childrenPath = `${base}/:section`; - // panelRouterEl.push(...routes); - console.log(panelRouterEl); - // - // - // {routes} - // - // - // ); - sidebarEl.push(