mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
fix: dup // fix on a link for edit this page on github (#2237)
This commit is contained in:
parent
fa72bb45cc
commit
acee3c2fda
@ -83,7 +83,7 @@ export default async function DocPage({params}: DocPageProps) {
|
|||||||
if (!doc) {
|
if (!doc) {
|
||||||
notFound();
|
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 (
|
return (
|
||||||
<>
|
<>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user