mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
Update settings-modal.tsx
This commit is contained in:
@@ -105,13 +105,13 @@ const InterfaceLanguage = () => {
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
const PlebbitOptionsSettings = () => {
|
// const PlebbitOptionsSettings = () => {
|
||||||
return (
|
// return (
|
||||||
<>
|
// <>
|
||||||
<div className={styles.setting}></div>
|
// <div className={styles.setting}></div>
|
||||||
</>
|
// </>
|
||||||
);
|
// );
|
||||||
};
|
// };
|
||||||
|
|
||||||
const SettingsModal = () => {
|
const SettingsModal = () => {
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
@@ -124,7 +124,7 @@ const SettingsModal = () => {
|
|||||||
const [showAccountSettings, setShowAccountSettings] = useState(false);
|
const [showAccountSettings, setShowAccountSettings] = useState(false);
|
||||||
const [showCryptoAddressSetting, setShowCryptoAddressSetting] = useState(false);
|
const [showCryptoAddressSetting, setShowCryptoAddressSetting] = useState(false);
|
||||||
const [showCryptoWalletSettings, setShowCryptoWalletSettings] = useState(false);
|
const [showCryptoWalletSettings, setShowCryptoWalletSettings] = useState(false);
|
||||||
const [showPlebbitOptionsSettings, setShowPlebbitOptionsSettings] = useState(false);
|
// const [showPlebbitOptionsSettings, setShowPlebbitOptionsSettings] = useState(false);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
@@ -174,13 +174,13 @@ const SettingsModal = () => {
|
|||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
{showCryptoWalletSettings && <CryptoWalletsSetting />}
|
{showCryptoWalletSettings && <CryptoWalletsSetting />}
|
||||||
<div className={`${styles.setting} ${styles.category}`}>
|
{/* <div className={`${styles.setting} ${styles.category}`}>
|
||||||
<label onClick={() => setShowPlebbitOptionsSettings(!showPlebbitOptionsSettings)}>
|
<label onClick={() => setShowPlebbitOptionsSettings(!showPlebbitOptionsSettings)}>
|
||||||
<span className={showPlebbitOptionsSettings ? styles.hideButton : styles.showButton} />
|
<span className={showPlebbitOptionsSettings ? styles.hideButton : styles.showButton} />
|
||||||
{t('plebbit_options')}
|
{t('plebbit_options')}
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
{showPlebbitOptionsSettings && <PlebbitOptionsSettings />}
|
{showPlebbitOptionsSettings && <PlebbitOptionsSettings />} */}
|
||||||
</div>
|
</div>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user