Skip to content

Commit

Permalink
TODO comments
Browse files Browse the repository at this point in the history
  • Loading branch information
humitos committed Jan 16, 2025
1 parent 94c88b5 commit 1c3032b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ export function setup() {
}

for (const addon of addons) {
// TODO: always initialize _all the addons_, they will be rendered or not based on the dynamic config context
// TODO: move the `httpStatus` usage for `isEnabled` into `render()` for each addon
if (addon.isEnabled(config, httpStatus)) {
promises.push(
new Promise((resolve) => {
Expand Down

0 comments on commit 1c3032b

Please sign in to comment.