mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-21 00:49:17 +01:00
Comment
This commit is contained in:
@@ -80,6 +80,7 @@ export interface DropdownRef {
|
||||
|
||||
// Every dropdown gets a unique ID and we use this global atom to ensure
|
||||
// only one dropdown can be open at a time.
|
||||
// TODO: Also make ContextMenu use this
|
||||
const openAtom = atom<string | null>(null);
|
||||
|
||||
export const Dropdown = forwardRef<DropdownRef, DropdownProps>(function Dropdown(
|
||||
|
||||
Reference in New Issue
Block a user