mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-07 03:56:39 +00:00
docs[patch]: Fix typo in feedback (#23146)
This commit is contained in:
parent
74749c909d
commit
2ae718796e
@ -158,6 +158,7 @@ export default function Feedback() {
|
|||||||
// Set a cookie to prevent feedback from being sent multiple times
|
// Set a cookie to prevent feedback from being sent multiple times
|
||||||
setCookie(cookieName, window.location.pathname, 1);
|
setCookie(cookieName, window.location.pathname, 1);
|
||||||
setFeedbackSent(true);
|
setFeedbackSent(true);
|
||||||
|
};
|
||||||
|
|
||||||
const handleFeedbackDetails = async (e) => {
|
const handleFeedbackDetails = async (e) => {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
@ -185,7 +186,6 @@ export default function Feedback() {
|
|||||||
}
|
}
|
||||||
setFeedbackDetailsSent(true);
|
setFeedbackDetailsSent(true);
|
||||||
};
|
};
|
||||||
};
|
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (typeof window !== "undefined") {
|
if (typeof window !== "undefined") {
|
||||||
|
Loading…
Reference in New Issue
Block a user