Skip to content

Commit

Permalink
minor logic refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
i-hardy committed Jan 29, 2025
1 parent 8bf8974 commit cba0006
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/init/consented/third-party-tags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,11 @@ const loadOther = (): Promise<void> => {
};

const init = async (): Promise<boolean> => {
if (!commercialFeatures.thirdPartyTags) {
return Promise.resolve(false);
if (commercialFeatures.thirdPartyTags) {
void loadOther();
return Promise.resolve(true);
}
void loadOther();
return Promise.resolve(true);
return Promise.resolve(false);
};

export { init };
Expand Down

0 comments on commit cba0006

Please sign in to comment.