feat: working feedback modal, fix photographers list on about page

This commit is contained in:
David Ralph
2021-04-01 15:12:03 +01:00
parent 0994bd08d8
commit 0575d5d565
6 changed files with 106 additions and 30 deletions

View File

@@ -11,7 +11,7 @@ export default class Text extends React.PureComponent {
this.language = window.language.modals.main.settings;
}
handleChange(e) {
handleChange = (e) => {
const { value } = e.target;
// Alex wanted font to work with montserrat and Montserrat, so I made it work

View File

@@ -45,7 +45,7 @@ export default class About extends React.PureComponent {
sponsors: sponsors,
update: updateMsg,
other_contributors: other_contributors,
photographers: photographers.sort(),
photographers: photographers.sort().join(', '),
loading: null
});
}
@@ -94,11 +94,7 @@ export default class About extends React.PureComponent {
)}
<h3>{this.language.photographers}</h3>
{this.state.loading}
<p>
{this.state.photographers.map((item) =>
<>{item}, </>
)}
</p>
<p>{this.state.photographers}</p>
</>
);
}