hide reps button & add rich text for reps

This commit is contained in:
2022-10-12 12:23:26 +01:00
parent 33053a578b
commit 96387db56e
22 changed files with 531 additions and 79 deletions
+4 -2
View File
@@ -8,7 +8,7 @@ import CookieBanner from "../../components/cookieBanner";
import Footer from "../../components/footer";
import Header from "../../components/header";
const Home = (props) => {
const CaseHome = (props) => {
const { footerLinks, pages } = props;
let { t, lang } = useTranslation();
@@ -66,6 +66,7 @@ const Home = (props) => {
representationsObj={
props.searchResultsObj.representationsObj
}
showLoginCheck={props.showLoginCheck}
/>
</div>
<Footer footerLinks={footerLinks} />
@@ -88,7 +89,8 @@ const mapStateToProps = (state) => {
watchedCases: state.watchedCases,
myRepresentations: state.myRepresentations,
awaitingSubmission: state.awaitingSubmission,
showLoginCheck: process.env.SHOWLOGIN || false,
};
};
export default connect(mapStateToProps)(Home);
export default connect(mapStateToProps)(CaseHome);