mirror of
https://github.com/elyby/accounts-frontend.git
synced 2025-05-31 14:11:58 +05:30
Move App into shell dir. Decouple ContextProviders. Improved type coverage for reducers
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
import { BSOD } from './actions';
|
||||
|
||||
export default function(state = false, { type }) {
|
||||
export type State = boolean;
|
||||
|
||||
export default function(state: State = false, { type }): State {
|
||||
if (type === BSOD) {
|
||||
return true;
|
||||
}
|
Reference in New Issue
Block a user