feat: fix and use research update anchors

This commit is contained in:
Ben Furber
2024-07-18 15:22:59 +01:00
committed by benfurber
parent f00ee97461
commit 4343087eb8
6 changed files with 21 additions and 14 deletions

View File

@@ -111,7 +111,7 @@ export async function handleResearchUpdatePublished(
try {
const response = await sendMessage(
`📝 New update from ${author} in their research: ${title}\n` +
`Learn about it here: <${SITE_URL}/research/${slug}>`,
`Learn about it here: <${SITE_URL}/research/${slug}#update_${newUpdateIndex + 1}>`,
)
handleResponse(response)
} catch (error) {