Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove the JSON array button and console log, making the column name … #2200

Merged
merged 1 commit into from
Mar 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 5 additions & 15 deletions src/views/HousingLottery/adminView/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,6 @@ const AdminView = () => {
housingService.getDueDate().then(setDueDate);
}, []);

const handleClick = async () => {
console.log(preference);
console.log(preferredHall);
console.log(applicant);
console.log(schoolYear);
};

const handleDateChange = (event) => {
let input = event.target.value.replace(/\D/g, '');

Expand Down Expand Up @@ -231,11 +224,11 @@ const AdminView = () => {
},
}}
>
<TableCell>Lottery Number</TableCell>
<TableCell>Applicants</TableCell>
<TableCell>Preferred Halls</TableCell>
<TableCell>Preferences</TableCell>
<TableCell>Class Standing</TableCell>
<TableCell style={{ fontWeight: 'bold' }}>Lottery Number</TableCell>
<TableCell style={{ fontWeight: 'bold' }}>Applicants</TableCell>
<TableCell style={{ fontWeight: 'bold' }}>Preferred Halls</TableCell>
<TableCell style={{ fontWeight: 'bold' }}>Preferences</TableCell>
<TableCell style={{ fontWeight: 'bold' }}>Class Standing</TableCell>
</TableRow>
</TableHead>
<TableBody>
Expand Down Expand Up @@ -333,9 +326,6 @@ const AdminView = () => {
</TableContainer>
</CardContent>
</Card>
<Button className={styles.submit_button} variant="contained" onClick={handleClick}>
click to see Json Array (transitory button)
</Button>
</Grid>
<GordonSnackbar
open={snackbar.open}
Expand Down
13 changes: 0 additions & 13 deletions src/views/HousingLottery/studentView/Instructions/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,6 @@ const Instructions = () => {
return (

<div>
<Typography variant="h4" gutterBottom className={styles.instructionsHeading}>
Instructions (As easy as 1, 2, 3!)
</Typography>
<Typography variant="body1" paragraph className={styles.instructionsContent}>
1. Review FAQs
</Typography>
<Typography variant="body1" paragraph className={styles.instructionsContent}>
2. Access questionnaire
</Typography>
<Typography variant="body1" paragraph className={styles.instructionsContent}>
3. Complete questionnaire by providing name(s), email(s), and housing preferences by Friday, Apr. 21 at noon.
</Typography>

<Accordion>
<AccordionSummary
className={styles.housing_card_header}
Expand Down
Loading