Skip to content

Commit

Permalink
Merge pull request #420 from AkshataKatwal16/relese-changes
Browse files Browse the repository at this point in the history
Issue feat:Resolve reload issue after deletion of block
  • Loading branch information
itsvick authored Dec 12, 2024
2 parents 3d97f93 + 6c462e3 commit d8b08df
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pages/block.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -689,6 +689,8 @@ const Block: React.FC = () => {
)
);
showToastMessage(t("COMMON.BLOCK_DELETED_SUCCESS"), "success");
filteredCohortOptionData();
fetchBlocks();
const windowUrl = window.location.pathname;
const cleanedUrl = windowUrl.replace(/^\//, '');
const env = cleanedUrl.split("/")[0];
Expand Down

0 comments on commit d8b08df

Please sign in to comment.