rsnext/test/integration/export/pages/empty-query-link.js
Jan Potoms 989b6ad145
Preserve url better in exportTrailingSlash (#13840)
Discovered while doing https://github.com/vercel/next.js/pull/13333. `#` or `?` used to be stripped if there wasn't a value behind
2020-06-07 17:15:06 +00:00

9 lines
189 B
JavaScript

import Link from 'next/link'
export default () => (
<div id="empty-query-link-page">
<Link href="/hello?">
<a id="empty-query-link">Empty Query link</a>
</Link>
</div>
)