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, min_length: 3,
max_length: 256, max_length: 256,
required: true, required: true,
additional_info: "Please include your timezone."
}, },
{ {
label: "Do you have any previous experience being staff?", label: "Do you have any previous experience being staff?",

View File

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