From 782d758f01685626559e7cceb77f1c8c2c4b355f Mon Sep 17 00:00:00 2001 From: Rustem Mussabekov Date: Fri, 2 Feb 2024 17:28:40 +0300 Subject: [PATCH] Remove translate contribute link --- src/routes/settings/app/lang.js | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/src/routes/settings/app/lang.js b/src/routes/settings/app/lang.js index d6ca8fc8..8c5ca3a1 100644 --- a/src/routes/settings/app/lang.js +++ b/src/routes/settings/app/lang.js @@ -5,18 +5,11 @@ import _ from 'lodash' import { connect } from 'react-redux' import { set } from '~data/actions/config' import supported from '~assets/languages/index.json' -import config from '~config' import { Label } from '~co/common/form' import Select from '~co/common/select' -import Button from '~co/common/button' -import Icon from '~co/common/icon' class SettingsAppLang extends React.Component { - static defaultProps = { - showContribute: true - } - list = _.sortBy(Object.entries(supported), ([key, label])=>label) onChange = (e)=>{ @@ -24,7 +17,7 @@ class SettingsAppLang extends React.Component { } render() { - const { lang, showContribute } = this.props + const { lang } = this.props return ( <> @@ -39,16 +32,6 @@ class SettingsAppLang extends React.Component { )} - - {showContribute && ( - - )} )