From cd0b45627f0d8da8c8dc4edde223f3c36e9bcfbf Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Sun, 25 Apr 2021 16:01:14 +0200 Subject: build: Migrate to flat project structure This change updates the project structure to become flattened. Previously, the simulator, frontend and API each lived into their own directory. With this change, all modules of the project live in the top-level directory of the repository. This should improve discoverability of modules of the project. --- frontend/src/reducers/auth.js | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 frontend/src/reducers/auth.js (limited to 'frontend/src/reducers/auth.js') diff --git a/frontend/src/reducers/auth.js b/frontend/src/reducers/auth.js deleted file mode 100644 index 399a4b10..00000000 --- a/frontend/src/reducers/auth.js +++ /dev/null @@ -1,12 +0,0 @@ -import { LOG_IN_SUCCEEDED, LOG_OUT } from '../actions/auth' - -export function auth(state = {}, action) { - switch (action.type) { - case LOG_IN_SUCCEEDED: - return action.payload - case LOG_OUT: - return {} - default: - return state - } -} -- cgit v1.2.3