Commit 4852ccb 1 parent b34b031 commit 4852ccb Copy full SHA for 4852ccb
File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ import FullPageNotFoundView from '../../components/BlockingViews/FullPageNotFoun
21
21
import ROUTES from '../../ROUTES' ;
22
22
import * as Browser from '../../libs/Browser' ;
23
23
import * as PolicyUtils from '../../libs/PolicyUtils' ;
24
- import useOnNetworkReconnect from '../../hooks/useOnNetworkReconnect ' ;
24
+ import useNetwork from '../../hooks/useNetwork ' ;
25
25
import useLocalize from '../../hooks/useLocalize' ;
26
26
27
27
const personalDetailsPropTypes = PropTypes . shape ( {
@@ -78,7 +78,7 @@ function WorkspaceInvitePage(props) {
78
78
// eslint-disable-next-line react-hooks/exhaustive-deps -- policyID changes remount the component
79
79
} , [ ] ) ;
80
80
81
- useOnNetworkReconnect ( openWorkspaceInvitePage ) ;
81
+ useNetwork ( { onReconnect : openWorkspaceInvitePage } ) ;
82
82
83
83
useEffect ( ( ) => {
84
84
const inviteOptions = OptionsListUtils . getMemberInviteOptions (
You can’t perform that action at this time.
0 commit comments