diff --git a/src/components/PricingView.tsx b/src/components/PricingView.tsx index f1f6d01..6a7ca02 100644 --- a/src/components/PricingView.tsx +++ b/src/components/PricingView.tsx @@ -1,4 +1,4 @@ -import React, { useState, useMemo, useRef, useCallback } from 'react'; +import React, { useState, useMemo, useRef, useCallback, useEffect } from 'react'; import { ExcelRow, COLUMNS } from '../types'; import { AlertTriangle, @@ -925,18 +925,24 @@ export function PricingView({ data, headers, onSaveRow, onCaptureState, onEdit, onChange={(e) => handleToggleCheck(dataIndex, e.target.checked)} className="w-4 h-4 rounded border-slate-600 bg-slate-900 text-blue-600 focus:ring-blue-500 focus:ring-offset-slate-800 cursor-pointer" /> - + {note && ( +
+ {note} +
)} - title={note || "Add note"} - > - - +