From 8d452f0f6b0cda36ab4d8ac7e9b5dc602033ff4a Mon Sep 17 00:00:00 2001 From: mgabdev <> Date: Thu, 14 May 2020 19:56:27 -0400 Subject: [PATCH] Progress --- app/javascript/gabsocial/actions/settings.js | 2 +- app/javascript/gabsocial/features/ui/ui.js | 2 +- app/javascript/styles/global.css | 11 ++++------- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/app/javascript/gabsocial/actions/settings.js b/app/javascript/gabsocial/actions/settings.js index 551f72b5..a3c2eeac 100644 --- a/app/javascript/gabsocial/actions/settings.js +++ b/app/javascript/gabsocial/actions/settings.js @@ -27,7 +27,7 @@ const debouncedSave = debounce((dispatch, getState) => { api().put('/api/web/settings', { data }) .then(() => dispatch({ type: SETTING_SAVE })) .catch(() => { /* */ }) -}, 5000, { trailing: true }) +}, 500, { trailing: true }) export function saveSettings() { return (dispatch, getState) => debouncedSave(dispatch, getState) diff --git a/app/javascript/gabsocial/features/ui/ui.js b/app/javascript/gabsocial/features/ui/ui.js index 1b787063..69f39553 100644 --- a/app/javascript/gabsocial/features/ui/ui.js +++ b/app/javascript/gabsocial/features/ui/ui.js @@ -495,7 +495,7 @@ class UI extends PureComponent { // } : {} return ( -