Skip to content

Commit

Permalink
Update FeedbackModal.tsx (All-Hands-AI#3538)
Browse files Browse the repository at this point in the history
  • Loading branch information
neubig authored Aug 22, 2024
1 parent 12de9f7 commit ba0d1a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/modals/feedback/FeedbackModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit ba0d1a9

Please sign in to comment.