Skip to content

Commit

Permalink
Change type declaration in useState
Browse files Browse the repository at this point in the history
  • Loading branch information
dgcohen committed Dec 18, 2024
1 parent 5c1d40c commit 2f20ab5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/hold/request/[id]/edd.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,12 @@ export default function EDDRequestPage({
defaultEligibilityStatus
)

const [eddFormState, setEddFormState] = useState({
const [eddFormState, setEddFormState] = useState<EDDRequestParams>({
...initialEDDFormState,
emailAddress: patronEmail,
patronId,
source: item.source,
} as EDDRequestParams)
})
const [formPosting, setFormPosting] = useState(false)

const bannerContainerRef = useRef<HTMLDivElement>()
Expand Down

0 comments on commit 2f20ab5

Please sign in to comment.