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

@@ -220,7 +220,7 @@ const FieldHTML: FC<FieldHTMLProps> = ({
};
function useColumnWrap() {
const listRef = useRef<HTMLDListElement | null>(null);
const listRef = useRef<HTMLDListElement>(null);
const handleRecalculate = useCallback(() => {
const listEle = listRef.current;
@@ -330,7 +330,7 @@ function useFieldOverflow() {
const [isLabelOverflowing, setIsLabelOverflowing] = useState(false);
const [isValueOverflowing, setIsValueOverflowing] = useState(false);
const wrapperRef = useRef<HTMLElement | null>(null);
const wrapperRef = useRef<HTMLElement>(null);
const handleRecalculate = useCallback(() => {
const wrapperEle = wrapperRef.current;
@@ -111,7 +111,7 @@ const AccountNameHelp: FC<{
<Overlay
show={open}
rootClose
target={triggerRef}
target={triggerRef as React.RefObject<HTMLButtonElement>}
onHide={handleClick}
offset={[5, 5]}
>
@@ -90,7 +90,7 @@ export const AccountSubscriptionForm: React.FC<{ accountId: string }> = ({
[],
);
const handleSubmit = useCallback<React.FormEventHandler>(
const handleSubmit = useCallback<React.SubmitEventHandler>(
(e) => {
e.preventDefault();