Skip to content

Commit

Permalink
small clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Grato committed Sep 18, 2023
1 parent 3a1ee1e commit 850c700
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/components/modules/hubs/HubCard/HubCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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.');
}
Expand Down
2 changes: 1 addition & 1 deletion client/components/modules/hubs/HubFormCard/HubFormCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ const HubFormCard = ({ hub: _hub, classProp = '' }: HubFormCardPropsT) => {
required={true}
/>
<div className={styles.address_preview}>
.{_hub.domain}
.{hub.domain}
<div className={styles.icon_wrapper}>
{!isEditingDomain && (
<div className={styles.icon_container}>
Expand Down

0 comments on commit 850c700

Please sign in to comment.