Skip to content

Commit

Permalink
this seems wrong, but lets see what happens
Browse files Browse the repository at this point in the history
  • Loading branch information
Israellund committed Sep 10, 2024
1 parent 41c06c4 commit 223aad9
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ const ConnectChainToCommunityTask = () => {
return '';
})();

const update = async () => {
const update = () => {
if (Object.keys(communityLookupData || {}).length > 0) {
try {
await updateCommunity({
updateCommunity({
communityId: communityId,
chainNodeId: chainNameAndId?.value.toString(),
});
Expand All @@ -86,8 +86,6 @@ const ConnectChainToCommunityTask = () => {
const openConfirmationModal = () => {
openConfirmation({
title: 'Connect Chain to Community',

// eslint-disable-next-line max-len
description:
`Are you sure you want to connect ${communityLookupData?.name} to ${chainNameAndId.label}?` +
`This will replace the existing chain with ${chainNameAndId.label} and might affect existing` +
Expand Down

0 comments on commit 223aad9

Please sign in to comment.