X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;ds=sidebyside;f=resources%2Fjs%2Fcomponents%2Ftechniques%2FOverview.js;h=16868655b12fe473a2f7425415939504fa914a74;hb=de9be1288c2b3214e007c8d67d6b19e756cf08ba;hp=8c7cd4db3e8b8725452779105d9454b7f29b537a;hpb=6c51a1601e74bc822ccafe984d525d0e9a35ca28;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({ })), };