Browse Source

fixing the build error

debrand
PC-20260115JRSN\Administrator 1 month ago
parent
commit
67a412ba7a
2 changed files with 0 additions and 2 deletions
  1. +0
    -1
      src/app/(main)/report/AsyncItemCodeAutocomplete.tsx
  2. +0
    -1
      src/app/(main)/report/page.tsx

+ 0
- 1
src/app/(main)/report/AsyncItemCodeAutocomplete.tsx View File

@@ -192,7 +192,6 @@ const AsyncItemCodeAutocomplete: React.FC<Props> = ({
},
}}
onInputChange={(_, next, reason) => {
if (reason === "blur") return;
if (reason === "reset") {
setInputValue("");
onInputValueChange?.("");


+ 0
- 1
src/app/(main)/report/page.tsx View File

@@ -767,7 +767,6 @@ export default function ReportPage() {
pendingItemCodeInputRef.current[field.name] = "";
return;
}
if (reason === "blur") return;
pendingItemCodeInputRef.current[field.name] = input;
}}
onChange={(event, newValue, reason) => {


Loading…
Cancel
Save