i have two client webparts in a page. both of them use pnpjs to retreive list items. the problem is that one webpart correctly loads sp.web while the other doesn't. both use the same code to instantiate the element.
this.sp = spfi().using(SPFx(this.props.context)); //props.context coming from webpart.ts
what i get in both is:
1 (working)
2 (not working)
can anyone solve the mistery? :) thanks everyone!