Skip to content

Commit

Permalink
Delete default value string in components in label and id
Browse files Browse the repository at this point in the history
  • Loading branch information
anagperal committed Jun 28, 2024
1 parent 23b8c7c commit bb23eef
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/webapp/components/add-new-option/AddNewOption.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ type AddNewOptionProps = {
};

export const AddNewOption: React.FC<AddNewOptionProps> = React.memo(
({ id, label = "", onAddNewOption }) => {
({ id, label, onAddNewOption }) => {
return (
<Container onClick={onAddNewOption}>
<StyledAddIcon id={id} aria-label="Add new option" />
Expand Down
4 changes: 2 additions & 2 deletions src/webapp/components/date-picker/DatePicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ type DatePickerProps = {

export const DatePicker: React.FC<DatePickerProps> = React.memo(
({
id = "",
label = "",
id,
label,
value,
onChange,
disabled = false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ type NACheckboxProps = {
export const NACheckbox: React.FC<NACheckboxProps> = React.memo(
({
id,
label = "",
label,
checked,
onChange,
helperText = "",
Expand Down

0 comments on commit bb23eef

Please sign in to comment.