diff --git a/bigbluebutton-html5/imports/ui/components/note/component.jsx b/bigbluebutton-html5/imports/ui/components/note/component.jsx index 32964632d9..f6d601157a 100644 --- a/bigbluebutton-html5/imports/ui/components/note/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/note/component.jsx @@ -2,10 +2,10 @@ import React, { useEffect, useState } from 'react'; import PropTypes from 'prop-types'; import { defineMessages, injectIntl } from 'react-intl'; import injectWbResizeEvent from '/imports/ui/components/presentation/resize-wrapper/component'; -import Button from '/imports/ui/components/button/component'; import NoteService from '/imports/ui/components/note/service'; -import { styles } from './styles'; +import Styled from './styles'; import { PANELS, ACTIONS } from '../layout/enums'; +import browserInfo from '/imports/utils/browserInfo'; const intlMessages = defineMessages({ hideNoteLabel: { @@ -38,6 +38,7 @@ const Note = ({ isResizing, }) => { const [noteURL, setNoteURL] = useState(); + const { isChrome } = browserInfo; useEffect(() => { NoteService.getNoteId().then((response) => { @@ -48,16 +49,10 @@ const Note = ({ useEffect(() => () => NoteService.setLastRevs(), []); return ( -
-
-
-
-
-