Closed AVGVSTVS96 closed 2 months ago
Latest commit: |
46aaba6
|
Status: | ✅ Deploy successful! |
Preview URL: | https://310b9a00.astrosite-aid.pages.dev |
Branch Preview URL: | https://fixtypes.astrosite-aid.pages.dev |
Open the branch in Web Editor • VS Code • Insiders
Open Preview
This stack of pull requests is managed by Graphite. Learn more about stacking.
Join @AVGVSTVS96 and the rest of your teammates on Graphite
Refactor form submission logic, replace deprecated
onKeyPress
Refactored the form submission logic to use
useRef
andrequestSubmit()
methodAlso replaceS the deprecated
onKeyPress
event withonKeyDown
Correct types to use
UseChatHelpers
type inChatInputProps
Correctly uses types from Vercel AI-SDK for
handleSubmit
,handleInputChange
, andinput
props