Skip to content

Commit

Permalink
Merge pull request #510 from newfold-labs/fix/site-logo-lag
Browse files Browse the repository at this point in the history
Fix Logo Lag
  • Loading branch information
diwanshuster authored Mar 6, 2024
2 parents 3591087 + 4f55e43 commit 183d776
Showing 1 changed file with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,14 +137,15 @@ const SiteGen = () => {
setCurrentOnboardingData( currentData );

// Get the homepages and set that in flow
const response = await getHomepages(
currentData.sitegen.siteDetails.prompt
getHomepages( currentData.sitegen.siteDetails.prompt ).then(
( response ) => {
if ( response.body ) {
currentData.sitegen.homepages.data =
response.body;
}
currentData.sitegen.siteGenMetaStatus.currentStatus += 1;
}
);

if ( response.body ) {
currentData.sitegen.homepages.data = response.body;
}
currentData.sitegen.siteGenMetaStatus.currentStatus += 1;
}
// Sync the current request changed to State
setCurrentOnboardingData( currentData );
Expand Down

0 comments on commit 183d776

Please sign in to comment.