Skip to content

Instantly share code, notes, and snippets.

@aneesahammed
Created January 8, 2021 22:23
Show Gist options
  • Save aneesahammed/13f47955e37547a51d714b8529c1d568 to your computer and use it in GitHub Desktop.
Save aneesahammed/13f47955e37547a51d714b8529c1d568 to your computer and use it in GitHub Desktop.
next
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