Rewrite actions/modal and reducers/modal with typescript (#24833)
This commit is contained in:
parent
4197b5e4c8
commit
38c6216082
38 changed files with 503 additions and 261 deletions
|
@ -11,7 +11,7 @@ const SignInBanner = () => {
|
|||
const dispatch = useAppDispatch();
|
||||
|
||||
const openClosedRegistrationsModal = useCallback(
|
||||
() => dispatch(openModal('CLOSED_REGISTRATIONS')),
|
||||
() => dispatch(openModal({ modalType: 'CLOSED_REGISTRATIONS' })),
|
||||
[dispatch],
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue