Skip to content

Commit

Permalink
use getBackgroundColorStyle
Browse files Browse the repository at this point in the history
  • Loading branch information
perunt committed Sep 22, 2023
1 parent 43a586c commit a080732
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/home/report/ReportActionItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ function ReportActionItem(props) {
const reportActionID = lodashGet(route, 'params.reportActionID');

const highlightedBackgroundColorIfNeeded = useMemo(
() => (reportActionID === props.action.reportActionID ? {backgroundColor: themeColors.highlightBG} : {}),
() => (reportActionID === props.action.reportActionID ? StyleUtils.getBackgroundColorStyle(themeColors.highlightBG) : {}),
[reportActionID, props.action.reportActionID],
);

Expand Down

0 comments on commit a080732

Please sign in to comment.