Skip to content

Commit

Permalink
debugging the broken reset button
Browse files Browse the repository at this point in the history
  • Loading branch information
Rhut-virani committed May 10, 2024
1 parent a0a7997 commit 94f946e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/Input/InputField/WebsiteInputField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,11 @@ const WebsiteInputField = ({

useEffect(() => {
if (queryURL) {
console.log("customTrigger");
const event = new Event("customTrigger");
handleFormSubmit(event, type, summaryLength, customLength, queryURL);
}
}, []);
}, [queryURL]);

return (
<div className="mx-auto max-w-[54rem] animate-fadeIn">
Expand Down

0 comments on commit 94f946e

Please sign in to comment.