kamilwylegala / vue-tournament-bracket

Vue component for rendering single elimination tournament brackets.
50 stars 25 forks source link

question in number of winners #29

Open hazem537 opened 2 months ago

hazem537 commented 2 months ago

i hve sub tourment and i have 4 winner in every group when i go to repersent it give me objectSpread2.js:12 Uncaught (in promise) RangeError: Maximum call stack size exceeded at _objectSpread2 (objectSpread2.js:12:10) at constructTree (recursiveBracket.js:73:24) at constructTree (recursiveBracket.js:80:9) at constructTree (recursiveBracket.js:80:9) at constructTree (recursiveBracket.js:80:9) at constructTree (recursiveBracket.js:80:9) at constructTree (recursiveBracket.js:80:9) at constructTree (recursiveBracket.js:80:9) at constructTree (recursiveBracket.js:80:9)

kamilwylegala commented 2 months ago

Could you show the code how you use the component?

hazem537 commented 2 months ago

5555

kamilwylegala commented 2 months ago

Could you also provide the object that you feed flat-tree (as code) props with? I see in the code that next could be null.