Skip to content

Commit

Permalink
Merge pull request #2188 from City-of-Helsinki/HL-754-checkboxes
Browse files Browse the repository at this point in the history
HL-754: Remove obsolete checkboxes
  • Loading branch information
mjturt authored Aug 28, 2023
2 parents c634724 + 23619a4 commit 1a80d89
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 46 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@ import { ROUTES } from 'benefit/handler/constants';
import { UploadProps } from 'benefit/handler/types/application';
import { ATTACHMENT_TYPES } from 'benefit-shared/constants';
import { Button, IconGlyphEuro, IconPlus } from 'hds-react';
import noop from 'lodash/noop';
import { useRouter } from 'next/router';
import { useTranslation } from 'next-i18next';
import * as React from 'react';
import UploadAttachment from 'shared/components/attachments/UploadAttachment';
import { $Checkbox } from 'shared/components/forms/fields/Fields.sc';
import {
$Grid,
$GridCell,
Expand Down Expand Up @@ -76,27 +74,6 @@ const EmployeeActions: React.FC<UploadProps> = ({
</Button>
</$GridCell>
</$Grid>
<$Grid>
<$GridCell
$colSpan={2}
css={`
margin-bottom: ${theme.spacing.s};
`}
>
<$Checkbox
css={`
input {
background-color: ${theme.colors.white};
}
`}
id="cb_targetGroupCheck"
name="cb_targetGroupCheck"
label={t(`${translationsBase}.targetGroupCheck`)}
checked={false}
onChange={noop}
/>
</$GridCell>
</$Grid>
</$ActionsWrapper>
);
};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import { UploadProps } from 'benefit/handler/types/application';
import { ATTACHMENT_TYPES } from 'benefit-shared/constants';
import { IconPlus } from 'hds-react';
import noop from 'lodash/noop';
import { useTranslation } from 'next-i18next';
import * as React from 'react';
import UploadAttachment from 'shared/components/attachments/UploadAttachment';
import { $Checkbox } from 'shared/components/forms/fields/Fields.sc';
import {
$Grid,
$GridCell,
Expand Down Expand Up @@ -56,27 +54,6 @@ const PaySubsidyActions: React.FC<UploadProps> = ({
/>
</$GridCell>
</$Grid>
<$Grid>
<$GridCell
$colSpan={12}
css={`
margin-bottom: ${theme.spacing.s};
`}
>
<$Checkbox
css={`
input {
background-color: ${theme.colors.white};
}
`}
id="cb_grantedDueInjury"
name="cb_grantedDueInjury"
label={t(`${translationsBase}.grantedDueInjury`)}
checked={false}
onChange={noop}
/>
</$GridCell>
</$Grid>
</$ActionsWrapper>
);
};
Expand Down

0 comments on commit 1a80d89

Please sign in to comment.