* Prompt/require user to upgrade to new version * Update en.json * Update app message text * Fix typo and add copyright
16 lines
343 B
JavaScript
16 lines
343 B
JavaScript
const initialState = {
|
|
lastUpdateCheck: 0
|
|
};
|
|
|
|
import {ViewTypes} from 'app/constants';
|
|
|
|
export default function clientUpgrade(state = initialState, action) {
|
|
switch (action.type) {
|
|
case ViewTypes.SET_LAST_UPGRADE_CHECK:
|
|
return {
|
|
lastUpdateCheck: Date.now()
|
|
};
|
|
default:
|
|
return state;
|
|
}
|
|
}
|