diff --git a/packages/@react-aria/collections/src/Hidden.tsx b/packages/@react-aria/collections/src/Hidden.tsx index 51cfa96034e..f0069f26232 100644 --- a/packages/@react-aria/collections/src/Hidden.tsx +++ b/packages/@react-aria/collections/src/Hidden.tsx @@ -12,7 +12,7 @@ import {createPortal} from 'react-dom'; import {forwardRefType} from '@react-types/shared'; -import React, {createContext, forwardRef, ReactElement, ReactNode, useContext} from 'react'; +import React, {createContext, forwardRef, ReactElement, ReactNode, useContext, useMemo} from 'react'; import {useIsSSR} from '@react-aria/ssr'; // React doesn't understand the