Add hotkey ctrl+k for search

Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
Ajay Bura committed 2021-12-11 10:50:34 +05:30
1 parent 413188c995
commit fbeecc0479
5 files changed
+52 -32

No files matched your search

+5
View File
@@ -4,6 +4,8 @@ import './RawModal.scss';
import Modal from 'react-modal';
import navigation from '../../../client/state/navigation';
Modal.setAppElement('#root');
function RawModal({
@@ -23,6 +25,9 @@ function RawModal({
default:
modalClass += 'raw-modal__small ';
}
navigation.setIsRawModalVisible(isOpen);
const modalOverlayClass = (overlayClassName !== null) ? `${overlayClassName} ` : '';
return (
<Modal