Created
January 8, 2021 22:23
-
-
Save aneesahammed/13f47955e37547a51d714b8529c1d568 to your computer and use it in GitHub Desktop.
next
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import NextLink from "@next/link" | |
import { Link } from "@chakra-ui/core" | |
<NextLink href="/post/[pid]" as={`/post/${pid}`}> | |
<Link>Post {pid}</Link> | |
</NextLink> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment