()
| 26 | const weightByCategory = getWeightByCategory(weightUnit, items); |
| 27 | |
| 28 | const renderEmptyList = () => ( |
| 29 | <MessageArea> |
| 30 | Select items from your inventory to begin<br/> building your packing list. |
| 31 | </MessageArea> |
| 32 | ); |
| 33 | |
| 34 | const update = (id: number, field: string, value: string | number | boolean) => { |
| 35 | updateItem(id, field, value); |