mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-01-10 07:18:10 -05:00
Update FeedbackModal.tsx (#3538)
This commit is contained in:
@@ -16,7 +16,7 @@ const isEmailValid = (email: string) => {
|
||||
return emailRegex.test(email);
|
||||
};
|
||||
|
||||
const VIEWER_PAGE = "https://www.all-hands.dev/share-openhands";
|
||||
const VIEWER_PAGE = "https://www.all-hands.dev/share";
|
||||
const FEEDBACK_VERSION = "1.0";
|
||||
|
||||
interface FeedbackModalProps {
|
||||
@@ -103,7 +103,7 @@ function FeedbackModal({
|
||||
localStorage.setItem("feedback-email", email); // store email in local storage
|
||||
if (response.statusCode === 200) {
|
||||
const { message, feedback_id: feedbackId, password } = response.body;
|
||||
const link = `${VIEWER_PAGE}?share_id=${feedbackId}&password=${password}`;
|
||||
const link = `${VIEWER_PAGE}?share_id=${feedbackId}`;
|
||||
shareFeedbackToast(message, link, password);
|
||||
} else {
|
||||
toast.error(
|
||||
|
||||
Reference in New Issue
Block a user