T
tscircuit2mo ago
Seve

what is this? CC @Rishabh have people

what is this? CC @Rishabh have people been seeing this?
No description
4 Replies
Rishabh
Rishabh2mo ago
No idea, any specific circuit is causing this? I just tried running a board and it works
Seve
SeveOP2mo ago
It happens whenever you have a board file with “export default SomeOtherBoard”
DOPΣ
DOPΣ2mo ago
It's actually a bug in eval It wraps in board tag if board isn't used in file provided, it doesn't check if default exported component includes board tag pr not https://github.com/tscircuit/eval/blob/main/lib%2Frunner%2FsetupDefaultEntrypointIfNeeded.ts#L50
GitHub
eval/lib/runner/setupDefaultEntrypointIfNeeded.ts at main · tscirc...
Evaluate tscircuit code to Circuit JSON in browsers, Node, or in web workers - tscircuit/eval
Seve
SeveOP2mo ago
I dont think we should ever wrap in board Core should be able to render without a board

Did you find this page helpful?