mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-11-10 01:52:04 +05:30
12 lines
193 B
TypeScript
12 lines
193 B
TypeScript
import { BSOD } from './actions';
|
|
|
|
export type State = boolean;
|
|
|
|
export default function(state: State = false, { type }): State {
|
|
if (type === BSOD) {
|
|
return true;
|
|
}
|
|
|
|
return state;
|
|
}
|