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

fix: hardcoded check for draft in development #700

Merged
merged 1 commit into from
Aug 27, 2023

Conversation

rareyesdev
Copy link
Contributor

allCoreContent checks for the draft state based on NODE_ENV which is the correct behavior. This check is redundant and is causing the tags page to skip drafts in development.

@vercel
Copy link

vercel bot commented Aug 27, 2023

Someone is attempting to deploy a commit to a Personal Account owned by @timlrx on Vercel.

@timlrx first needs to authorize it.

@vercel
Copy link

vercel bot commented Aug 27, 2023

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

Name Status Preview Comments Updated (UTC)
tailwind-nextjs-starter-blog ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 27, 2023 4:42am

Copy link
Owner

@timlrx timlrx left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@timlrx timlrx merged commit ef87df5 into timlrx:main Aug 27, 2023
1 check passed
@rareyesdev rareyesdev deleted the fix/draft-state-during-development branch August 27, 2023 06:58
Meez25 pushed a commit to Meez25/Blog that referenced this pull request Jun 17, 2024
…development

fix: remove hardcoded check for draft in development
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