Support server-determined build expiration

This commit is contained in:
Josh Perez 2020-09-09 18:50:44 -04:00 committed by Scott Nonnenberg
parent a04f9a0e51
commit d87335f5a6
14 changed files with 147 additions and 28 deletions

View file

@ -62,7 +62,7 @@ type ToggleVerifiedFulfilledActionType = {
payload: ToggleVerifiedAsyncActionType;
};
export type SafetyNumberActionTypes =
export type SafetyNumberActionType =
| GenerateActionType
| GenerateFulfilledActionType
| ToggleVerifiedActionType
@ -161,7 +161,7 @@ function getEmptyState(): SafetyNumberStateType {
export function reducer(
state: SafetyNumberStateType = getEmptyState(),
action: SafetyNumberActionTypes
action: SafetyNumberActionType
): SafetyNumberStateType {
if (action.type === TOGGLE_VERIFIED_PENDING) {
const { contact } = action.payload;