fix: dup // fix on a link for edit this page on github (#2237)

This commit is contained in:
Kinfe Michael Tariku 2024-03-04 00:28:41 +03:00 committed by GitHub
parent fa72bb45cc
commit acee3c2fda
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -83,7 +83,7 @@ export default async function DocPage({params}: DocPageProps) {
if (!doc) {
notFound();
}
const editUrl = `${GITHUB_URL}/${REPO_NAME}/edit/${TAG}/${CONTENT_PATH}${currentRoute?.path}`;
const editUrl = `${GITHUB_URL}/${REPO_NAME}/edit/${TAG}${CONTENT_PATH}${currentRoute?.path}`;
return (
<>