diff --git a/components/ComplainsDetails.tsx b/components/ComplainsDetails.tsx index 1a480a0..120c48e 100644 --- a/components/ComplainsDetails.tsx +++ b/components/ComplainsDetails.tsx @@ -207,7 +207,11 @@ export default function ComplainsDetails({ {/* Editt */}
@@ -225,7 +229,11 @@ export default function ComplainsDetails({
-
+
{convertFullTime(item.dateTime)}
diff --git a/components/InspectorOperations.tsx b/components/InspectorOperations.tsx
index bfba09a..a62013b 100644
--- a/components/InspectorOperations.tsx
+++ b/components/InspectorOperations.tsx
@@ -184,7 +184,6 @@ export default function InspectorOperations({
className="resize-none bg-white lg:min-h-[20em]"
{...field}
readOnly={possibleOperations.length == 0}
-
onChange={(e) => {
const currentValue = e.target.value;
if (currentValue.length <= data?.maxTextLength) {
@@ -192,10 +191,11 @@ export default function InspectorOperations({
handleTextChange(e);
} else {
// Truncate the value to the allowed limit
- field.onChange(currentValue.substring(0, data?.maxTextLength));
+ field.onChange(
+ currentValue.substring(0, data?.maxTextLength)
+ );
}
}}
-
/>
{!error ? (
@@ -264,7 +264,7 @@ export default function InspectorOperations({