From 98a617959412bf333ed5593652c492fbaf2cdaf7 Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Sat, 19 Oct 2024 22:44:33 +0000 Subject: [PATCH] style: format code with Prettier This commit fixes the style issues introduced in 2366efc according to the output from Prettier. Details: https://github.com/warmachine028/memories/pull/180 --- client/src/reducers/auth/index.js | 8 ++++---- client/src/store/index.js | 2 -- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/client/src/reducers/auth/index.js b/client/src/reducers/auth/index.js index 4033b8c..b11225a 100644 --- a/client/src/reducers/auth/index.js +++ b/client/src/reducers/auth/index.js @@ -5,10 +5,10 @@ const initialState = { } export const slice = createSlice({ - name: 'auth', - initialState, - reducers: { - updateAuthToken: (state, action) => { + name: 'auth', + initialState, + reducers: { + updateAuthToken: (state, action) => { state.token = action.payload } } diff --git a/client/src/store/index.js b/client/src/store/index.js index 5ac5992..3aa1f2d 100644 --- a/client/src/store/index.js +++ b/client/src/store/index.js @@ -12,5 +12,3 @@ export const store = configureStore({ }, middleware: (getDefaultMiddleware) => getDefaultMiddleware().concat(api.middleware) }) - -