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

refactor: labels #26

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

refactor: labels #26

wants to merge 2 commits into from

Conversation

ankormoreankor
Copy link
Collaborator

@ankormoreankor ankormoreankor commented Feb 7, 2025

Design changes (before/after):
image
image
image
image
image
image
image
image
image

Copy link

vercel bot commented Feb 7, 2025

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

Name Status Preview Comments Updated (UTC)
canary ❌ Failed (Inspect) Feb 14, 2025 4:13pm

setIsLoading(false)
}, [isDataLoading, setIsLoading, query, enabled])

return { isLoading, space_ref, repo_ref }
Copy link
Collaborator

Choose a reason for hiding this comment

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

If you have added the loader state for labels to the store, then remove its export from the hook and use the loading status from the store everywhere.

@@ -18,23 +18,15 @@ export const RepoLabelFormContainer = () => {
query: labelId,
enabled: !!labelId
})
console.log('🚀 ~ RepoLabelFormContainer ~ isDataLoading:', isDataLoading)
Copy link
Collaborator

Choose a reason for hiding this comment

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

remove

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.

2 participants