Skip to content

fix: change popup style - replace alert with toast (#18)#22

Open
adi-codeartist001 wants to merge 1 commit into
indresh404:mainfrom
adi-codeartist001:fix/change-popup-style
Open

fix: change popup style - replace alert with toast (#18)#22
adi-codeartist001 wants to merge 1 commit into
indresh404:mainfrom
adi-codeartist001:fix/change-popup-style

Conversation

@adi-codeartist001
Copy link
Copy Markdown

Fixes #18

Replaces native browser alert() popups with a custom Toast notification component that matches the app's design system.

Changes made:

  • src/components/ui/Toast.jsx — new toast component with success/error styles, auto-dismisses after 3 seconds
  • src/pages/Profile.jsx — replaced both alert() calls with setToast(), added Toast import and render

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

@vercel
Copy link
Copy Markdown

vercel Bot commented May 26, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ranker-hub Ready Ready Preview, Comment May 26, 2026 6:09am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

change pop up style

1 participant