Skip to content

Commit 3ccf7a6

Browse files
committed
fix: remove legacy tool options for subroles
1 parent 1c26d25 commit 3ccf7a6

3 files changed

Lines changed: 1 addition & 5 deletions

File tree

src/routes/Apply.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,15 +345,13 @@ function WebsiteOfficerForm() {
345345
<WebsiteQuestions
346346
formData={formData.website}
347347
handleChange={handleChange}
348-
toolsOptions={toolsOptions}
349348
/>
350349
);
351350
case "Sponsorships Officer":
352351
return (
353352
<SponsorshipsQuestions
354353
formData={formData.sponsorships}
355354
handleChange={handleChange}
356-
toolsOptions={toolsOptions}
357355
/>
358356
);
359357
default:

src/routes/applicationQuestions/sponsorships.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ interface props {
1515
engagement: string
1616
};
1717
handleChange: (e: React.ChangeEvent<any>) => void;
18-
toolsOptions: string[];
1918
}
2019

2120
const WebsiteQuestions: React.FC<props> = ({ formData, handleChange }) => (

src/routes/applicationQuestions/website.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ interface websiteProps {
1414
ideas: string,
1515
goodweb: string
1616
};
17-
handleChange: (e: React.ChangeEvent<any>) => void;
18-
toolsOptions: string[];
17+
handleChange: (e: React.ChangeEvent<any>) => void;
1918
}
2019

2120
const WebsiteQuestions: React.FC<websiteProps> = ({ formData, handleChange }) => (

0 commit comments

Comments
 (0)