Remove dependency resolution override for React 19 types (#39569)

Co-authored-by: ChaosExAnima <ChaosExAnima@users.noreply.github.com>
This commit is contained in:
diondiondionandChaosExAnima authored and GitHub committed 2026-06-25 07:54:30 +00:00
1 parent f440615b01
commit f2e10fd5db
52 files changed
+112 -110

No files matched your search

@@ -352,7 +352,7 @@ export const Dropdown = <Item extends object | null = MenuItem>({
);
const [currentId] = useState(id++);
const open = currentId === openDropdownId;
const buttonRef = useRef<HTMLButtonElement | null>(null);
const buttonRef = useRef<HTMLButtonElement>(null);
const menuId = useId();
const prefetchAccountId = status
? status.getIn(['account', 'id'])
@@ -518,7 +518,7 @@ export const Dropdown = <Item extends object | null = MenuItem>({
offset={offset}
placement={placement}
flip
target={buttonRef}
target={buttonRef as React.RefObject<HTMLButtonElement>}
popperConfig={popperConfig}
>
{({ props, arrowProps, placement }) => (