fix: Not Keydown

This commit is contained in:
wonderlandpark 2021-03-13 19:04:03 +09:00
parent 5963bcb0ce
commit 37aad08e88

View File

@ -20,7 +20,6 @@ const Button = ({
) : onClick ? (
<button
type={type}
onKeyDown={onClick}
onClick={onClick}
className={`cursor-pointer rounded-md px-4 py-2 m-0.5 transition duration-300 ease select-none outline-none foucs:outline-none ${className ??
'bg-discord-blurple hover:opacity-80 dark:bg-very-black dark:hover:bg-discord-dark-hover text-white'}`}