import { useTranslation } from 'react-i18next' import PropTypes from 'prop-types' import Browser from 'webextension-polyfill' import { toast, ToastContainer } from 'react-toastify' import { useEffect } from 'react' import 'react-toastify/dist/ReactToastify.css' import { useTheme } from '../../hooks/use-theme.mjs' import { getUserConfig } from '../../config/index.mjs' const NotificationForChatGPTWeb = () => { const { t } = useTranslation() const [theme, config] = useTheme() const buttonStyle = { padding: '0 8px', border: '1px solid', borderRadius: '4px', whiteSpace: 'nowrap', cursor: 'pointer', } useEffect(() => { toast(