David Pomerenke commited on
Commit
a5cf2d9
·
1 Parent(s): 37ec45a

Remove unnecessary function

Browse files
frontend/src/components/ModelTable.js CHANGED
@@ -151,15 +151,6 @@ const ModelTable = ({ data }) => {
151
  return <div style={{ textAlign: 'center' }}>${rowData.cost.toFixed(2)}</div>
152
  }
153
 
154
- const scoreBodyTemplate = (field, options = {}) => {
155
- const { minScore = 0, maxScore = 1 } = options
156
-
157
- return rowData => {
158
- const score = rowData[field]
159
- return ScoreField(score, minScore, maxScore)
160
- }
161
- }
162
-
163
  return (
164
  <DataTable
165
  value={data}
 
151
  return <div style={{ textAlign: 'center' }}>${rowData.cost.toFixed(2)}</div>
152
  }
153
 
 
 
 
 
 
 
 
 
 
154
  return (
155
  <DataTable
156
  value={data}