MM-62005 Change UrlView to always stay mounted (#3453)
* MM-62005 Change UrlView to always stay mounted * Rename message for URL view and corresponding methods * Change log level
This commit is contained in:
@@ -3,9 +3,6 @@
|
||||
|
||||
import 'renderer/css/components/HoveringURL.css';
|
||||
|
||||
const queryString = window.location.search;
|
||||
const urlParams = new URLSearchParams(queryString);
|
||||
|
||||
import React from 'react';
|
||||
import ReactDOM from 'react-dom';
|
||||
|
||||
@@ -13,9 +10,7 @@ import UrlDescription from '../../components/urlDescription';
|
||||
|
||||
const start = async () => {
|
||||
ReactDOM.render(
|
||||
<UrlDescription
|
||||
url={decodeURIComponent(urlParams.get('url')!)}
|
||||
/>,
|
||||
<UrlDescription/>,
|
||||
document.getElementById('app'),
|
||||
);
|
||||
};
|
||||
|
Reference in New Issue
Block a user