X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;ds=sidebyside;f=resources%2Fjs%2Fcomponents%2Ftechniques%2FOverview.js;h=16868655b12fe473a2f7425415939504fa914a74;hb=5b21bf8a7e7efed35389c693fcf3775d6ee3f0ec;hp=8c7cd4db3e8b8725452779105d9454b7f29b537a;hpb=0586e04204885088f31ac9861446eb0759cc8d2f;p=alttp.git diff --git a/resources/js/components/techniques/Overview.js b/resources/js/components/techniques/Overview.js index 8c7cd4d..1686865 100644 --- a/resources/js/components/techniques/Overview.js +++ b/resources/js/components/techniques/Overview.js @@ -6,12 +6,16 @@ import { withTranslation } from 'react-i18next'; import List from './List'; import i18n from '../../i18n'; -const Overview = ({ techniques }) => -

{i18n.t('techniques.heading')}

+const Overview = ({ + namespace, + techniques, +}) => +

{i18n.t(`${namespace}.heading`)}

; Overview.propTypes = { + namespace: PropTypes.string, techniques: PropTypes.arrayOf(PropTypes.shape({ })), };