From 8341c274f61198c956bcd86e445d0afb660c3cc1 Mon Sep 17 00:00:00 2001 From: Willian Mitsuda Date: Sat, 30 Oct 2021 21:56:32 -0300 Subject: [PATCH] Remove unnecessary React.memo --- src/components/Address.tsx | 2 +- src/components/AddressLink.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Address.tsx b/src/components/Address.tsx index 62891a3..478f4f6 100644 --- a/src/components/Address.tsx +++ b/src/components/Address.tsx @@ -10,4 +10,4 @@ const Address: React.FC = ({ address }) => ( ); -export default React.memo(Address); +export default Address; diff --git a/src/components/AddressLink.tsx b/src/components/AddressLink.tsx index a8fd5c3..4b6f99e 100644 --- a/src/components/AddressLink.tsx +++ b/src/components/AddressLink.tsx @@ -24,4 +24,4 @@ const AddressLink: React.FC = ({ ); -export default React.memo(AddressLink); +export default AddressLink;