Skip to content

Commit ca228c4

Browse files
committed
fix lint
1 parent 205b0a3 commit ca228c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/Search/SearchRouter/SearchRouterContext.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React, {useContext, useMemo, useRef, useState} from 'react';
22
import type {AnimatedTextInputRef} from '@components/RNTextInput';
33
import isSearchTopmostFullScreenRoute from '@libs/Navigation/helpers/isSearchTopmostFullScreenRoute';
44
import {navigationRef} from '@libs/Navigation/Navigation';
5-
import * as Modal from '@userActions/Modal';
5+
import {close} from '@userActions/Modal';
66
import NAVIGATORS from '@src/NAVIGATORS';
77
import SCREENS from '@src/SCREENS';
88
import type ChildrenProps from '@src/types/utils/ChildrenProps';
@@ -34,7 +34,7 @@ function SearchRouterContextProvider({children}: ChildrenProps) {
3434

3535
const routerContext = useMemo(() => {
3636
const openSearchRouter = () => {
37-
Modal.close(
37+
close(
3838
() => {
3939
setIsSearchRouterDisplayed(true);
4040
searchRouterDisplayedRef.current = true;

0 commit comments

Comments
 (0)