fix(extension-integration): update id name to use browser_extension

This commit is contained in:
Aminejv 2021-08-25 17:47:57 +01:00
parent f6982c764f
commit f70e7ea2d2
2 changed files with 2 additions and 2 deletions

View File

@ -123,7 +123,7 @@ export class ApplicationUserControlsPopup extends React.Component {
}
_checkIfExtensionIsDownloaded = () => {
const extensionElement = document.getElementById("chrome_extension");
const extensionElement = document.getElementById("browser_extension");
if (!extensionElement) return false;
return extensionElement.className.includes("isDownloaded");
};

View File

@ -13,7 +13,7 @@ class MyDocument extends Document {
<body>
{/** NOTE(amine): used to communicate with the extension via classNames.
* e.g. if the extension is installed on the user's browser, it will add 'isDownloaded' to className*/}
<div id="chrome_extension" />
<div id="browser_extension" />
<Main />
<NextScript />
</body>