notsoocool / codecache

CodeCache is a dynamic web application designed to streamline the way developers manage and access code snippets. The platform provides a comprehensive library of code snippets, allowing users to save, organize, and retrieve useful code snippets for various programming languages and use cases.
https://codecache.tech
MIT License
18 stars 54 forks source link

Bookmarks page error #59

Closed inkerton closed 1 month ago

inkerton commented 1 month ago

I incorporated some extra error handling like

if (!userId) {
        toast.error("User not logged in");
        router.push('/home');
        return null;
      }
vercel[bot] commented 1 month ago

@inkerton is attempting to deploy a commit to the notsoocool's projects Team on Vercel.

A member of the Team first needs to authorize it.

inkerton commented 1 month ago

This is in response to the issue #54

Kindly Review it and merge it @notsoocool

notsoocool commented 1 month ago

@inkerton please note that this issue was not assigned to you, so raising a PR for it wasn't the correct approach. I'm closing this PR for now. In the future, please focus on issues that are assigned to you first to avoid conflicts among contributors. This is just a warning for this time.

I am also merging PR #61 as it was assigned to him. If you feel that something is missing or needs improvement from that PR, please raise an issue first. If the issue is assigned to you, you can then add a PR to address it.