Closed bexxmodd closed 2 months ago
Have you tried setting the url attribute?
Have you tried setting the url attribute?
Can you tell me how can I do that?
@bexxmodd Example from the landing page <applause-button url="google.com" />
If you're using a template for your blog post pass in the URL dynamically. Here's an example of how I am using it in my post template and it seems to be working as expected.
const url = `https://www.example.com/blog/${slug.current}`
...
...
<ApplauseButton url={url} />
thanks, @john-rock I did that but still the same issue. Multi clap works fine, but the clap counter is still reset after I refresh the page
Closing due to inactivity. If this is still a problem, please open a new issue.
Hello,
First thanks for the amazing project! I tried to add it to my blog but the clap count is not being recorded. And when I refresh the page the clap button is refreshed as well.
https://www.bexxmodd.com/blog/
example post with clap button: https://www.bexxmodd.com/post/5-reasons-why-use-rust/
thanks