mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-24 20:36:40 +07:00
fixed modal provider
This commit is contained in:
parent
5849e68258
commit
5b28313afd
1 changed files with 2 additions and 2 deletions
|
@ -11,8 +11,8 @@ export class ModalStore {
|
|||
}
|
||||
|
||||
setCurrent = <T extends Dialog>(current: T, props: DialogContentProps[T]) => {
|
||||
this.props = props;
|
||||
this.current = current ?? {};
|
||||
this.props = current ? props : {};
|
||||
this.current = current;
|
||||
};
|
||||
|
||||
hide = () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue