Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added functionality to archive projects #62

Merged
merged 2 commits into from
Jul 18, 2023
Merged

Conversation

GokulramGHV
Copy link
Member

@vercel
Copy link

vercel bot commented Jul 11, 2023

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

Name Status Preview Comments Updated (UTC)
ayushma-fe ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 18, 2023 4:32am

Comment on lines 18 to 19
const projectQuery = useQuery(["project", project_id], () => API.projects.get(project_id));
const project: Project | undefined = projectQuery.data || undefined;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@GokulramGHV no need for this, creating a new chat will result in an error anyways. No need to query an additional endpoint.

Comment on lines 16 to 17
const projectQuery = useQuery(["project", project_id], () => API.projects.get(project_id));
const project: Project | undefined = projectQuery.data || undefined;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here

Copy link
Member

@skks1212 skks1212 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.Make archived projects look a little gray

@GokulramGHV
Copy link
Member Author

image

is this okay?

@skks1212 skks1212 merged commit 8aa92ec into master Jul 18, 2023
2 checks passed
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.

None yet

2 participants