From 084286c116a9ff5caca6bda9ea681ac915f33494 Mon Sep 17 00:00:00 2001 From: Avrohom Gottlieb Date: Fri, 11 Oct 2024 13:25:15 -0400 Subject: [PATCH] make Intake and Interest Form Link components more composable by add a FormLinkButton sub-component --- client/src/pages/contribute.js | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/client/src/pages/contribute.js b/client/src/pages/contribute.js index 0ee89401..c32f7244 100644 --- a/client/src/pages/contribute.js +++ b/client/src/pages/contribute.js @@ -29,23 +29,13 @@ const TableRow = styled(GrommetTableRow)` box-shadow: none !important; ` -const IntakeFormLink = () => ( +const FormLinkButton = ({ ...props }) => (