fix(web): wire up inquiry modal toast notification on listing detail page

The "Nhắn tin" button's inquiry modal now shows a success toast via
sonner after submission instead of an in-dialog success state, and
closes the modal automatically. Added sonner as a dependency and
mounted <Toaster> in the root locale layout.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
Ho Ngoc Hai
2026-04-16 10:56:56 +07:00
parent 25f415f3bc
commit 44533a88f4
4 changed files with 22 additions and 36 deletions

View File

@@ -28,6 +28,7 @@
"react-hook-form": "^7.72.1",
"recharts": "^3.8.1",
"socket.io-client": "^4.8.3",
"sonner": "^2.0.7",
"tailwind-merge": "^3.5.0",
"web-vitals": "^5.2.0",
"zod": "^4.3.6",