Skip to content

Commit 536d368

Browse files
committed
Changed button link to docs in dev
1 parent 7b8137a commit 536d368

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docuilib/src/components/MainSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export default () => {
4040
</div>
4141

4242
<div className={styles.buttons}>
43-
<Link to={`docs/${docsMainEntry}`}>
43+
<Link to={`docs/${location.hostname === 'localhost' ? 'next/' : ''}${docsMainEntry}`}>
4444
<button className={'button dark'}>View Docs</button>
4545
</Link>
4646

0 commit comments

Comments
 (0)