mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
completely removed modal reducer
This commit is contained in:
parent
b1e8bddbaf
commit
8d5afb4f98
34 changed files with 189 additions and 300 deletions
|
@ -1,5 +1,4 @@
|
|||
import { DetailedHTMLProps, InputHTMLAttributes, ReactElement } from 'react';
|
||||
import { DIALOGS } from '~/redux/modal/constants';
|
||||
import { ERRORS } from '~/constants/errors';
|
||||
import { IUser } from './auth/types';
|
||||
import { CallEffect } from 'redux-saga/effects';
|
||||
|
@ -31,11 +30,6 @@ export type IIcon = string;
|
|||
|
||||
export type ValueOf<T> = T[keyof T];
|
||||
|
||||
export interface IDialogProps {
|
||||
onRequestClose: () => void;
|
||||
onDialogChange: (dialog: ValueOf<typeof DIALOGS>) => void;
|
||||
}
|
||||
|
||||
export interface IApiErrorResult {
|
||||
detail?: string;
|
||||
code?: string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue