Просмотр исходного кода

lint-frontend settingsSlice.ts (#1022)

* lint-frontend settingsSlice.ts

for  lint-frontend
Unexpected console statement

* Update settingsSlice.ts
808vita 1 год назад
Родитель
Сommit
fb54c36c90
1 измененных файлов с 0 добавлено и 1 удалено
  1. 0 1
      frontend/src/state/settingsSlice.ts

+ 0 - 1
frontend/src/state/settingsSlice.ts

@@ -18,7 +18,6 @@ export const settingsSlice = createSlice({
     setByKey: (state, action) => {
       const { key, value } = action.payload;
       state[key] = value;
-      console.log("setByKey", key, value);
       localStorage.setItem(key, value);
       // language is a special case for now.
       if (key === ArgConfigType.LANGUAGE) {