Skip to content

Commit

Permalink
Update packages/@react-aria/utils/src/useObjectRef.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Robert Snow <rsnow@adobe.com>
  • Loading branch information
solimant and snowystinger authored Oct 16, 2021
1 parent 5fb4567 commit faf7389
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/@react-aria/utils/src/useObjectRef.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
* governing permissions and limitations under the License.
*/

import {MutableRefObject, useLayoutEffect, useRef} from 'react';
import {MutableRefObject, useRef} from 'react';
import {useLayoutEffect} from '@react-aria/utils';

/**
* Offers an object ref for a given callback ref or an object ref. Especially
Expand Down

0 comments on commit faf7389

Please sign in to comment.