@@ -23,8 +23,6 @@ import { MarkGithubIcon } from '@primer/octicons-react'
2323import Browser from 'webextension-polyfill'
2424import PropTypes from 'prop-types'
2525import { config as toolsConfig } from '../content-script/selection-tools'
26- import wechatpay from './donation/wechatpay.jpg'
27- import bugmeacoffee from './donation/bugmeacoffee.png'
2826import { useWindowTheme } from '../hooks/use-window-theme.mjs'
2927import { languageList } from '../config/language.mjs'
3028import {
@@ -628,27 +626,6 @@ SiteAdapters.propTypes = {
628626 updateConfig : PropTypes . func . isRequired ,
629627}
630628
631- function Donation ( ) {
632- const { t } = useTranslation ( )
633-
634- return (
635- < div style = "display:flex;flex-direction:column;align-items:center;" >
636- < a
637- href = "https://www.buymeacoffee.com/josStorer"
638- target = "_blank"
639- rel = "nofollow noopener noreferrer"
640- >
641- < img alt = "buymeacoffee" src = { bugmeacoffee } />
642- </ a >
643- < br />
644- < >
645- { t ( 'Wechat Pay' ) }
646- < img alt = "wechatpay" src = { wechatpay } />
647- </ >
648- </ div >
649- )
650- }
651-
652629// eslint-disable-next-line react/prop-types
653630function Footer ( { currentVersion, latestVersion } ) {
654631 const { t } = useTranslation ( )
@@ -731,7 +708,6 @@ function Popup() {
731708 < Tab className = "popup-tab" > { t ( 'Selection Tools' ) } </ Tab >
732709 < Tab className = "popup-tab" > { t ( 'Sites' ) } </ Tab >
733710 < Tab className = "popup-tab" > { t ( 'Advanced' ) } </ Tab >
734- { isSafari ( ) ? null : < Tab className = "popup-tab" > { t ( 'Donate' ) } </ Tab > }
735711 </ TabList >
736712
737713 < TabPanel >
@@ -749,11 +725,6 @@ function Popup() {
749725 < TabPanel >
750726 < AdvancedPart config = { config } updateConfig = { updateConfig } />
751727 </ TabPanel >
752- { isSafari ( ) ? null : (
753- < TabPanel >
754- < Donation />
755- </ TabPanel >
756- ) }
757728 </ Tabs >
758729 </ form >
759730 < br />
0 commit comments