Closed ArnavK-09 closed 4 months ago
If the variable doesn't exist, heading ?? "My section"
will fail.
Change it to it.heading ?? "My section"
(referencing the variable from it
global object).
If the variable doesn't exist,
heading ?? "My section"
will fail. Change it toit.heading ?? "My section"
(referencing the variable fromit
global object).
I followed this and here it is not used 🤔
Hmm. In your capture you're including skill.vto
file but the condition is in section.vto
.
Are you sure this is correct?
If so, do you have a repo that I can clone for debugging?
Ohhh man I'm stupid! Sorry!
But, if I'll use it.heading
it won't throw error in section component if no heading given...I'll try that
Soo sorry 😢