docs[patch]: Fix typo in feedback (#23146)

pull/23150/head
Jacob Lee 4 months ago committed by GitHub
parent 74749c909d
commit 2ae718796e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -158,6 +158,7 @@ export default function Feedback() {
// Set a cookie to prevent feedback from being sent multiple times
setCookie(cookieName, window.location.pathname, 1);
setFeedbackSent(true);
};
const handleFeedbackDetails = async (e) => {
e.preventDefault();
@ -185,7 +186,6 @@ export default function Feedback() {
}
setFeedbackDetailsSent(true);
};
};
useEffect(() => {
if (typeof window !== "undefined") {

Loading…
Cancel
Save