pl-fe: fix hotkeys modal close button

This commit is contained in:
XYenon
2025-10-19 17:38:05 +08:00
parent a597e70e1b
commit fcb54c7009

View File

@ -157,7 +157,7 @@ const HotkeysModal: React.FC<BaseModalProps> = ({ onClose }) => {
return (
<Modal
title={<FormattedMessage id='keyboard_shortcuts.heading' defaultMessage='Keyboard shortcuts' />}
onClose={onClose}
onClose={() => onClose('HOTKEYS')}
width='4xl'
>
<div className='flex flex-col text-xs lg:flex-row'>