diff --git a/src/components/webviews/ReloadInterceptorWebView.js b/src/components/webviews/ReloadInterceptorWebView.js index 6d4a9e779..de71163ee 100644 --- a/src/components/webviews/ReloadInterceptorWebView.js +++ b/src/components/webviews/ReloadInterceptorWebView.js @@ -3,7 +3,6 @@ import React, { useState } from 'react' import { useClient, useInstanceInfo } from 'cozy-client' import { SupervisedWebView } from '/components/webviews/SupervisedWebView' -import { APPLICATION_NAME_FOR_USER_AGENT } from '/constants/userAgent' import { ProgressContainer } from '/components/ProgressContainer' import { interceptNavigation, @@ -27,7 +26,6 @@ const ReloadInterceptorWebView = React.forwardRef((props, ref) => { { return interceptNavigation({ @@ -61,7 +59,6 @@ const ReloadInterceptorWebView = React.forwardRef((props, ref) => { { diff --git a/src/components/webviews/SupervisedWebView.js b/src/components/webviews/SupervisedWebView.js index f19636c27..1c4f54899 100644 --- a/src/components/webviews/SupervisedWebView.js +++ b/src/components/webviews/SupervisedWebView.js @@ -1,11 +1,12 @@ import React, { useCallback, useEffect, useState } from 'react' import { WebView } from 'react-native-webview' -import Minilog from 'cozy-minilog' +import Minilog from 'cozy-minilog' import { useClient } from 'cozy-client' import { RemountProgress } from '/app/view/Loading/RemountProgress' import { resyncCookies } from '/libs/httpserver/httpCookieManager' +import { APPLICATION_NAME_FOR_USER_AGENT } from '/constants/userAgent' const log = Minilog('SupervisedWebView') @@ -108,6 +109,7 @@ export const SupervisedWebView = React.forwardRef((props, ref) => { return ( <> {