Compare commits

..

No commits in common. "821e63953ba94481bcb9b238da0bebf94cd1811b" and "b00b857f29e8a0eaeb43deb4a61a59f6cf3fb17e" have entirely different histories.

2 changed files with 12 additions and 15 deletions

View File

@ -89,7 +89,6 @@ export const apply: FormData = {
min_length: 3,
max_length: 256,
required: true,
additional_info: "Please include your timezone."
},
{
label: "Do you have any previous experience being staff?",

View File

@ -26,21 +26,19 @@ const ThankYou: FC = () => {
</Helmet>
<header className="header">Thank you for completing the form and verifying your email!<br></br>This is the data you entered:</header>
<div className="fields">
{Object.entries(formData).map(([key, value]) => (
<div>
<p><strong>{key}</strong></p>
{
value
.split("\n")
.filter(str => str.trim() !== "")
.map((str, index) => <p style={{ wordWrap: 'break-word' }}>{str}</p>)
}
</div>
))}
<table>
<tbody>
{Object.entries(formData).map(([key, value]) => (
<tr className="form-data-row" id={key}>
<td className="form-data-key">{key}</td>
<td className="form-data-value">{value}</td>
</tr>
))}
</tbody>
</table>
</div>
</div>
</div>
)
;
);
}