pl-fe: try to fix media modal behavior after recent ports

Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
nicole mikołajczyk
2026-01-16 01:56:43 +01:00
parent 63d226a206
commit b97ce74ec2
3 changed files with 84 additions and 28 deletions

View File

@ -67,7 +67,6 @@ const ModalRoot: React.FC = () => {
const index = modals.length - 1;
const onClickClose = (type?: ModalType, all?: boolean) => {
console.log('Closing modal:', type, all);
switch (type) {
case 'COMPOSE':
dispatch(cancelReplyCompose());