Skip to content

Commit

Permalink
function args update
Browse files Browse the repository at this point in the history
  • Loading branch information
MVarshini committed Jan 19, 2024
1 parent 58acfe9 commit f3842f6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ const NewRunsComponent = () => {
saveRowData={saveRowData}
rowActions={rowActions}
item={item}
onDateSelect={(_event, str) =>
onDateSelect={(str) =>
updateTblValue(
str,
SERVER_DELETION_KEY,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ const SavedRunsComponent = () => {
updateTblValue(val, NAME_KEY, item.resource_id)
}
toggleEdit={toggleEdit}
onDateSelect={(_event, str) =>
onDateSelect={(str) =>
updateTblValue(
str,
SERVER_DELETION_KEY,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,10 @@ export const SavedRunsRow = (props) => {

export const SelectDateComponent = (props) => (
<div className="date-picker-container">
<DatePicker value={props.value} onChange={props.onDateSelect} />
<DatePicker
value={props.value}
onChange={() => props.onDateSelect(props.value)}
/>
</div>
);

Expand Down

0 comments on commit f3842f6

Please sign in to comment.