From 850c7008f1b6ab673a211e2362a7de0a281ca3ee Mon Sep 17 00:00:00 2001 From: Nick Grato Date: Mon, 18 Sep 2023 15:46:20 -0700 Subject: [PATCH] small clean up --- client/components/modules/hubs/HubCard/HubCard.tsx | 2 +- client/components/modules/hubs/HubFormCard/HubFormCard.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/components/modules/hubs/HubCard/HubCard.tsx b/client/components/modules/hubs/HubCard/HubCard.tsx index a7e5f114..706d63a4 100644 --- a/client/components/modules/hubs/HubCard/HubCard.tsx +++ b/client/components/modules/hubs/HubCard/HubCard.tsx @@ -37,7 +37,7 @@ const HubCard = ({ hub: _hub, refreshHubData, classProp }: HubCardPropsT) => { ); // Refresh data after update. if (resp?.status === 200) { - () => refreshHubData && refreshHubData(); + refreshHubData && refreshHubData(); } else { console.error('Sorry, there was an error updating this Hub.'); } diff --git a/client/components/modules/hubs/HubFormCard/HubFormCard.tsx b/client/components/modules/hubs/HubFormCard/HubFormCard.tsx index d50d26a7..0aa87dd2 100644 --- a/client/components/modules/hubs/HubFormCard/HubFormCard.tsx +++ b/client/components/modules/hubs/HubFormCard/HubFormCard.tsx @@ -237,7 +237,7 @@ const HubFormCard = ({ hub: _hub, classProp = '' }: HubFormCardPropsT) => { required={true} />
- .{_hub.domain} + .{hub.domain}
{!isEditingDomain && (