Skip to content

Commit

Permalink
fxi: miss key (#217)
Browse files Browse the repository at this point in the history
  • Loading branch information
mizy authored Mar 1, 2023
1 parent 18f9eb2 commit 62f7823
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pages/ServiceManage/LeaderDistribution/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ const LeaderDistribution: React.FC<IProps> = (props: IProps) => {
dataIndex: 'distribution',
render: distribution => (
<div className="distribution-table">
{distribution.split(',').map(each => <div className="leader-item">{each.trim()}</div>)}
{distribution.split(',').map(each => <div key={each} className="leader-item">{each.trim()}</div>)}
</div>
),
},
Expand Down
2 changes: 1 addition & 1 deletion src/utils/dashboard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const getProperStep = (start: number, end: number) => {
}
if (hours <= 72) {
// <3 day
return 1800; //30min
return 600; //10min
}
return 3600;
};
Expand Down

0 comments on commit 62f7823

Please sign in to comment.