Skip to content

Commit

Permalink
Disable 2023 census form (#292)
Browse files Browse the repository at this point in the history
  • Loading branch information
vcarl committed Feb 1, 2024
1 parent 4d3c29e commit 7998d8c
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 7998d8c

Please sign in to comment.