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

Fix lint warning #11

Merged
merged 2 commits into from
Apr 3, 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
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,3 @@ packages/**/coverage
packages/**/dataset*.json
packages/**/recipients*.json
site/public/test*.json
.idea
18 changes: 9 additions & 9 deletions site/components/payment-streams/EndTime.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ const EndTime = function ({
value={years}
>
{[...Array(11).keys()].map(year => (
<option key={year} value={year}>
{t('count-years', { count: year })}
</option>
<option key={year} value={year}>
{t('count-years', { count: year })}
</option>
))}
</select>
<select
Expand All @@ -43,9 +43,9 @@ const EndTime = function ({
value={days}
>
{[...Array(365).keys()].map(day => (
<option key={day} value={day}>
{t('count-days', { count: day })}
</option>
<option key={day} value={day}>
{t('count-days', { count: day })}
</option>
))}
</select>
<select
Expand All @@ -54,9 +54,9 @@ const EndTime = function ({
value={hours}
>
{[...Array(24).keys()].map(hour => (
<option key={hour} value={hour}>
{t('count-hours', { count: hour })}
</option>
<option key={hour} value={hour}>
{t('count-hours', { count: hour })}
</option>
))}
</select>
</div>
Expand Down