Fix useEffect effenceincy,

This commit is contained in:
Lucid Kobold
2022-06-23 13:50:37 -05:00
parent f6d86464b1
commit 488f56354d
5 changed files with 22 additions and 16 deletions

View File

@@ -14,9 +14,7 @@ const CustomButton = ({ text, link, type }: CustomButtonProps): JSX.Element => {
return (
<MotionBox whileHover={{ scale: 1.1 }} whileTap={{ scale: 0.9 }}>
<Link href={link} target="_blank" rel="noopener">
<Button variant={type}>
{text}
</Button>
<Button variant={type}>{text}</Button>
</Link>
</MotionBox>
);

View File

@@ -13,10 +13,7 @@ const Patreon = (): JSX.Element => {
target="_blank"
rel="noopener"
>
<Button
variant="patreon"
leftIcon={<Icon icon="ri:patreon-fill" />}
>
<Button variant="patreon" leftIcon={<Icon icon="ri:patreon-fill" />}>
{"Fund The App"}
</Button>
</Link>