diff --git a/src/components/pages/production/uniformity/form/UniformityPreviewForm.tsx b/src/components/pages/production/uniformity/form/UniformityPreviewForm.tsx index a1f98526..3cc120fd 100644 --- a/src/components/pages/production/uniformity/form/UniformityPreviewForm.tsx +++ b/src/components/pages/production/uniformity/form/UniformityPreviewForm.tsx @@ -50,12 +50,16 @@ const UniformityPreviewForm = () => { () => [ { accessorKey: 'number', - header: 'Number', + header: () => ( + Number + ), cell: (props) => props.row.original.number, }, { accessorKey: 'weight', - header: 'Weight (g)', + header: () => ( + Weight (g) + ), cell: (props) => {props.row.original.weight}, }, ], diff --git a/src/components/pages/production/uniformity/form/UniformityResultForm.tsx b/src/components/pages/production/uniformity/form/UniformityResultForm.tsx index 20b267f7..3cc12017 100644 --- a/src/components/pages/production/uniformity/form/UniformityResultForm.tsx +++ b/src/components/pages/production/uniformity/form/UniformityResultForm.tsx @@ -120,12 +120,16 @@ const UniformityResultForm = () => { () => [ { accessorKey: 'label', - header: 'Label', + header: () => ( + Label + ), cell: (props) => props.row.original.label, }, { accessorKey: 'value', - header: 'Value', + header: () => ( + Value + ), cell: (props) => {props.row.original.value}, }, ], @@ -160,12 +164,16 @@ const UniformityResultForm = () => { () => [ { accessorKey: 'label', - header: 'Label', + header: () => ( + Label + ), cell: (props) => props.row.original.label, }, { accessorKey: 'value', - header: 'Value', + header: () => ( + Value + ), cell: (props) => {props.row.original.value}, }, ], @@ -189,17 +197,23 @@ const UniformityResultForm = () => { () => [ { accessorKey: 'number', - header: 'Number', + header: () => ( + Number + ), cell: (props) => props.row.original.number, }, { accessorKey: 'weight', - header: 'Weight (g)', + header: () => ( + Weight (g) + ), cell: (props) => {props.row.original.weight}, }, { accessorKey: 'status', - header: 'Status', + header: () => ( + Status + ), cell: (props) => { const status = props.row.original.status; return status ? (