mirror of
https://github.com/yude-jp/yude.jp
synced 2026-10-24 00:05:11 +09:00
This <Link> does not need query
This commit is contained in:
1 file changed
+1
-1
@@ -7,7 +7,7 @@ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
||||
const Button = (props) => {
|
||||
const { icon, dest, caption } = props
|
||||
return (
|
||||
<Link href={{ pathname: dest, query: query}}>
|
||||
<Link href={{ pathname: dest }}>
|
||||
<a>
|
||||
<button
|
||||
className="bg-pink-600 text-white active:bg-pink-600 mt-3 font-bold text-sm px-6 py-3 rounded shadow hover:shadow-lg outline-none focus:outline-none mr-1 mb-1 ease-linear transition-all duration-150"
|
||||
|
||||
Reference in new issue
Block a user