Skip to content

Commit

Permalink
Disable 2023 census form
Browse files Browse the repository at this point in the history
  • Loading branch information
vcarl committed Jan 30, 2024
1 parent b2b0baf commit e7641da
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/pages/census/2023.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ const generateUniqueId = () => {
return uniqueId;
};

const closed = true;

export const Census2023 = () => {
const [id, setId] = React.useState();
const [submissionStep, setSubmissionStep] = React.useState(0);
Expand Down Expand Up @@ -93,6 +95,9 @@ export const Census2023 = () => {
<h1>{title}</h1>
<main>
{(() => {
if (closed) {
return "Submissions are closed";
}
switch (submissionStep) {
case 0:
return <Professional onSubmit={onSubmit} />;
Expand Down

0 comments on commit e7641da

Please sign in to comment.