Skip to content

Commit

Permalink
code break fix (#1423)
Browse files Browse the repository at this point in the history
* fix

* Update SetupMaster.js

---------

Co-authored-by: NabeelAyubee <[email protected]>
  • Loading branch information
nabeelmd-eGov and NabeelAyubee committed Sep 23, 2024
1 parent f46ac43 commit 5962087
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ const SetupMaster = () => {
"sandbox-ui",
[{ name: "ModuleMasterConfig" }],
{
cacheTime: 0,
staleTime: 0,
// cacheTime: 0,
// staleTime: 0,
select: (data) => {
let respStructure = data?.["sandbox-ui"]?.ModuleMasterConfig?.filter((item) => item?.module === module)?.[0]?.master?.filter(
(item) => item.type === "module" || item.type === "common" || item.type === "boundary"
Expand Down Expand Up @@ -57,7 +57,6 @@ const SetupMaster = () => {
);

useEffect(() => {
console.log("HELLO")
if (!moduleMasterLoading && moduleMasterData?.moduleMasterPayload) {
setFilters(moduleMasterData?.moduleMasterPayload);
}
Expand Down

0 comments on commit 5962087

Please sign in to comment.