fix: remove success notifications and parse map coordinates safely

This commit is contained in:
2026-06-27 22:28:13 +07:00
parent 0152e7014d
commit 9f60efeb6d
6 changed files with 28 additions and 27 deletions
-2
View File
@@ -377,8 +377,6 @@ export const LandingPage: React.FC<LandingPageProps> = ({
throw new Error(errorData.message || 'Tải ảnh thất bại.');
}
notify({ title: 'Thành công!', message: 'Ảnh của bạn đã được tải lên.', type: 'success' });
// Xóa pendingInviteToken và parameter token khỏi URL để tránh tự động chuyển sang JoinTourPage
localStorage.removeItem('pendingInviteToken');
const url = new URL(window.location.href);