fix: badge share url

This commit is contained in:
Jannat Patel
2024-07-02 16:17:28 +05:30
parent f80a139c93
commit 0c52b5a8ec

View File

@@ -137,7 +137,7 @@ const badges = createResource({
const shareOnSocial = (badge, medium) => {
let shareUrl
const url = encodeURIComponent(
`${window.location.origin}/badges/${badge.badge}/${props.profile.data?.email}`
`${window.location.origin}/lms/badges/${badge.badge}/${props.profile.data?.email}`
)
const summary = `I am happy to announce that I earned the ${
badge.badge