subinoybiswas / clippy

Clippy is an online clipboard tool, to solve the age-old problem of coping and pasting a breeze, it also comes with features like file sharing.
https://clippy.subinoy.me
MIT License
7 stars 28 forks source link

Added react-toastify for invalid ClippyID notification #69

Closed satmm closed 4 months ago

satmm commented 4 months ago

Pull Request

Title

Added react-toastify for invalid ClippyID notification

Description

This PR adds a notification using react-toastify to inform users when an invalid ClippyID is entered. If the ClippyID does not exist, a toast message will appear with the text "This ClippyID does not exist!".

Related Issues

Fixes #25

Changes Made

Checklist

Screenshots (if applicable)

Screenshot (251)

Additional Notes

Please review the changes and let me know if any adjustments are needed.

vercel[bot] commented 4 months ago

@satmm is attempting to deploy a commit to the subinoybiswas' projects Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] commented 4 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
clippy ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 18, 2024 3:02pm
subinoybiswas commented 4 months ago

Clippy IDs are not being generated in the preview deploymeny

satmm commented 4 months ago

Clippy IDs are not being generated in the preview deploymeny

@subinoybiswas I have created a new pull request ...Could you please review and deploy it? Let me know if you encounter any deployment errors.

subinoybiswas commented 4 months ago

Caught the issue, const uri = process.env.MONGODB_URI; should be const uri = process.env.MONGO_URI;

satmm commented 4 months ago

I have

Caught the issue, const uri = process.env.MONGODB_URI; should be const uri = process.env.MONGO_URI;

@subinoybiswas I have fixed that could you please deploy it again !