Refactor keyboard shortcut handling and improve module switching logic

This commit is contained in:
2025-05-08 13:42:42 +05:30
parent 8bf48bfcfe
commit a2480748a8
9 changed files with 174 additions and 204 deletions

View File

@@ -103,10 +103,9 @@ const DropDownList: React.FC<DropDownListProps> = ({
return (
<div className="dropdown-list-container">
<div className="head">
<button className="value" onClick={handleToggle}>
{value}
</button>
{/* eslint-disable-next-line */}
<div className="head" onClick={handleToggle}>
<div className="value">{value}</div>
<div className="options">
{showFocusIcon && (
<div className="focus option">