0
0
mirror of https://github.com/yude-jp/yude.jp synced 2025-10-13 03:38:36 +09:00

This <Link> does not need query

This commit is contained in:
2021-12-11 19:03:47 +09:00
parent ff98956a10
commit a8321b6c60

View File

@@ -7,7 +7,7 @@ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
const Button = (props) => { const Button = (props) => {
const { icon, dest, caption } = props const { icon, dest, caption } = props
return ( return (
<Link href={{ pathname: dest, query: query}}> <Link href={{ pathname: dest }}>
<a> <a>
<button <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" 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"