Skip to content

Commit

Permalink
fix(HistoryRecordEstimate): fix text content
Browse files Browse the repository at this point in the history
  • Loading branch information
asabotovich committed Aug 30, 2023
1 parent 450a6fd commit a51a96c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/HistoryRecord/HistoryRecord.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ export const HistoryRecordTags: React.FC<HistoryChangeProps<TagData[]>> = ({ fro
export const HistoryRecordEstimate: React.FC<HistoryChangeProps<Estimate>> = ({ from, to }) => (
<HistorySimplifyRecord
from={from ? <Tag size="s">{`${from.q}/${from.y}`}</Tag> : null}
to={to ? <Tag size="s">{`${to.q}/${to.y}`}</Tag> : null}
to={to ? <Tag size="s">{to.q ? `${to.q}/${to.y}` : to.y}</Tag> : null}
/>
);

Expand Down

0 comments on commit a51a96c

Please sign in to comment.