diff --git a/package.json b/package.json index 45c8722..42d8a1f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "siteforge", "private": true, - "version": "1.0.12", + "version": "1.0.13", "type": "module", "scripts": { "dev": "vite", diff --git a/src/components/QASection.tsx b/src/components/QASection.tsx index 21fdb75..bfed529 100644 --- a/src/components/QASection.tsx +++ b/src/components/QASection.tsx @@ -1044,7 +1044,7 @@ export default function QASection() { type="button" aria-label="Share on X" className="qa-social-btn qa-social-btn--x" - onClick={() => shareToX(question)} + onClick={() => shareImageTo(question, 'x')} > Share @@ -1053,10 +1053,10 @@ export default function QASection() { type="button" aria-label="Share on Facebook" className="qa-social-btn qa-social-btn--fb" - onClick={() => shareToFacebook(question)} + onClick={() => shareImageTo(question, 'facebook')} > - {facebookCaptionCopied ? 'Caption copied' : 'Share'} + Share - - {(facebookCaptionCopied || linkCopied) && (