move wallet server setting help

This commit is contained in:
zeppi 2022-02-04 15:40:00 -05:00 committed by jessopb
parent fe1a2eac33
commit fe72dcfc2c
2 changed files with 16 additions and 12 deletions

View file

@ -504,7 +504,22 @@ export default function SettingSystem(props: Props) {
</fieldset-section>
</SettingsRow>
<SettingsRow title={__('Wallet server')} multirow>
<SettingsRow
title={__('Wallet server')}
subtitle={
<I18nMessage
tokens={{
learn_more: (
<Button button="link" href="http://lbry.com/faq/wallet-servers" label={__('Learn More')} />
),
}}
>
Wallet servers are used to relay data to and from the LBRY blockchain. They also determine what
content shows in trending or is blocked. %learn_more%
</I18nMessage>
}
multirow
>
<SettingWalletServer />
</SettingsRow>

View file

@ -3,7 +3,6 @@
import React, { useState, useEffect, useRef } from 'react';
import { FormField } from 'component/common/form';
import Button from 'component/button';
import I18nMessage from 'component/i18nMessage';
import * as ICONS from 'constants/icons';
import ServerInputRow from './internal/inputRow';
import { stringifyServerParam } from 'util/sync-settings';
@ -133,16 +132,6 @@ function SettingWalletServer(props: Props) {
}}
label={__('Use custom wallet servers')}
/>
<p className="help">
<I18nMessage
tokens={{
learn_more: <Button button="link" href="http://lbry.com/faq/wallet-servers" label={__('Learn More')} />,
}}
>
Wallet servers are used to relay data to and from the LBRY blockchain. They also determine what content
shows in trending or is blocked. %learn_more%
</I18nMessage>
</p>
{advancedMode && (
<div>