Skip to content

Commit

Permalink
fix upstream description
Browse files Browse the repository at this point in the history
  • Loading branch information
IldarKamalov committed Feb 24, 2025
1 parent 26b0edd commit 115e743
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions client/src/components/Settings/Dns/Upstream/Form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,17 @@ type FormProps = {
const upstreamModeOptions = [
{
label: i18next.t('load_balancing'),
desc: i18next.t('load_balancing_desc'),
desc: <Trans components={{ br: <br />, b: <b /> }}>load_balancing_desc</Trans>,
value: DNS_REQUEST_OPTIONS.LOAD_BALANCING,
},
{
label: i18next.t('parallel_requests'),
desc: i18next.t('upstream_parallel'),
desc: <Trans components={{ br: <br />, b: <b /> }}>upstream_parallel</Trans>,
value: DNS_REQUEST_OPTIONS.PARALLEL,
},
{
label: i18next.t('fastest_addr'),
desc: i18next.t('fastest_addr_desc'),
desc: <Trans components={{ br: <br />, b: <b /> }}>fastest_addr_desc</Trans>,
value: DNS_REQUEST_OPTIONS.FASTEST_ADDR,
},
];
Expand Down
4 changes: 2 additions & 2 deletions client/src/components/ui/Controls/Radio.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import React, { forwardRef } from 'react';
import React, { forwardRef, ReactNode } from 'react';

type Props<T> = {
name: string;
value: T;
onChange: (e: T) => void;
options: { label: string; desc?: string; value: T }[];
options: { label: string; desc?: ReactNode; value: T }[];
disabled?: boolean;
error?: string;
};
Expand Down

0 comments on commit 115e743

Please sign in to comment.