Skip to content

Commit

Permalink
Fix headers for pay modifier component
Browse files Browse the repository at this point in the history
  • Loading branch information
CaitBarnard committed Dec 12, 2024
1 parent 26a1e56 commit bda4dc4
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
const EditPayModifier = ({ obj }) => {
const headers = monthsTitle;
import { monthsToTitleCase } from "../../../Util";

const EditPayModifier = ({ pay_modifier }) => {
return (
<table className="govuk-table">
<thead className="govuk-table__head">
<tr className="govuk-table__row">
{headers.map((header) => {
{monthsToTitleCase.map((header) => {
return (
<th scope="col" className="govuk-table__header" key={header}>
{header}
Expand Down

0 comments on commit bda4dc4

Please sign in to comment.