这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@cdransf
Copy link
Contributor

@cdransf cdransf commented Mar 27, 2022

This pull request updates the ScrollTopAndComment.js component to only render the comment button in cases where a comment provider is specified at siteMetadata.comment.provider.

Granted, the theme default is to specify a provider, but, in cases where that provider is cleared and set to an empty string, the comment button still renders but directs users to a commenting implementation that isn't rendered.

@vercel
Copy link

vercel bot commented Mar 27, 2022

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 Mar 28, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/timlrx/tailwind-nextjs-starter-blog/28ccDfQuze8JuKs1X1p8KzmPepZP
✅ Preview: https://tailwind-nextjs-starter-blog-git-fork-cdransf-master-timlrx.vercel.app

@timlrx
Copy link
Owner

timlrx commented Mar 28, 2022

Makes sense to me, thanks!

@timlrx timlrx merged commit cee4918 into timlrx:master Mar 28, 2022
Meez25 pushed a commit to Meez25/Blog that referenced this pull request Jun 17, 2024
Render floating comment button only if a provider is specified
bhiwagade-rahul pushed a commit to bhiwagade-rahul/tailwind-nextjs-starter-blog that referenced this pull request Sep 22, 2025
Render floating comment button only if a provider is specified
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