mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-26 22:56:23 -04:00
Convert MetadataSource to TypeScript
This commit is contained in:
+2
-4
@@ -7,10 +7,8 @@ import TheTvdb from './TheTvdb';
|
||||
|
||||
function MetadataSourceSettings() {
|
||||
return (
|
||||
<PageContent title={translate('MetadataSourceSettings')} >
|
||||
<SettingsToolbar
|
||||
showSave={false}
|
||||
/>
|
||||
<PageContent title={translate('MetadataSourceSettings')}>
|
||||
<SettingsToolbar showSave={false} />
|
||||
|
||||
<PageContentBody>
|
||||
<TheTvdb />
|
||||
+7
-6
@@ -3,7 +3,7 @@ import InlineMarkdown from 'Components/Markdown/InlineMarkdown';
|
||||
import translate from 'Utilities/String/translate';
|
||||
import styles from './TheTvdb.css';
|
||||
|
||||
function TheTvdb(props) {
|
||||
function TheTvdb() {
|
||||
return (
|
||||
<div className={styles.container}>
|
||||
<img
|
||||
@@ -12,12 +12,13 @@ function TheTvdb(props) {
|
||||
/>
|
||||
|
||||
<div className={styles.info}>
|
||||
<div className={styles.title}>
|
||||
{translate('TheTvdb')}
|
||||
</div>
|
||||
<InlineMarkdown data={translate('SeriesAndEpisodeInformationIsProvidedByTheTVDB', { url: 'https://www.thetvdb.com/subscribe' })} />
|
||||
<div className={styles.title}>{translate('TheTvdb')}</div>
|
||||
<InlineMarkdown
|
||||
data={translate('SeriesAndEpisodeInformationIsProvidedByTheTVDB', {
|
||||
url: 'https://www.thetvdb.com/subscribe',
|
||||
})}
|
||||
/>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user