import { withTranslation } from 'react-i18next';
import List from './List';
import Outline from './Outline';
import { withTranslation } from 'react-i18next';
import List from './List';
import Outline from './Outline';
<RawHTML html={getTranslation(technique, 'description', i18n.language)} />
{technique.chapters ? technique.chapters.map(chapter =>
<section id={`c${chapter.id}`} key={`c${chapter.id}`}>
<RawHTML html={getTranslation(technique, 'description', i18n.language)} />
{technique.chapters ? technique.chapters.map(chapter =>
<section id={`c${chapter.id}`} key={`c${chapter.id}`}>
<h2 className="mt-5">{i18n.t('techniques.seeAlso')}</h2>
<List techniques={sorted(getRelations(technique, 'related'))} />
</> : null}
<h2 className="mt-5">{i18n.t('techniques.seeAlso')}</h2>
<List techniques={sorted(getRelations(technique, 'related'))} />
</> : null}