Skip to content

Commit

Permalink
more log
Browse files Browse the repository at this point in the history
  • Loading branch information
sneridagh committed Feb 22, 2024
1 parent f9e95f0 commit 5caca51
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/registry/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,10 @@ class Config {
// For all registered components for that slot, inversed, since the last one registered wins
// TODO: Cover ZCA use case, where if more predicates, more specificity wins if all true.
// Let's keep it simple here and stick to the registered order.
console.log(slotName);
console.log('slot', name);
console.log('data', data);
console.log('slotName', slotName);
console.log('data per slotname', data[slotName]);
let noPredicateComponent: SlotComponent | undefined;
for (const slotComponent of data[slotName].toReversed()) {
let isPredicateTrueFound: boolean = false;
Expand Down

0 comments on commit 5caca51

Please sign in to comment.