Support server-determined build expiration
This commit is contained in:
parent
a04f9a0e51
commit
d87335f5a6
14 changed files with 147 additions and 28 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue