Refactor tests command menu (#1702)

* Fix tests

* Refactor tests command menu

* Improve tests

* Fix optimistic render breaking tests
This commit is contained in:
Charles Bochet
2023-09-21 11:53:36 -07:00
committed by GitHub
parent b5b46f923a
commit 7ce03ffdd1
10 changed files with 100 additions and 464 deletions

View File

@ -25,7 +25,6 @@ export const useDropdownButton = ({ dropdownId }: { dropdownId: string }) => {
);
const closeDropdownButton = () => {
console.log('closeDropdownButton', dropdownId);
goBackToPreviousHotkeyScope();
setIsDropdownButtonOpen(false);
};