@capacitor/network + React

Hello Ionic Framework Community,

I have used the @capacitor/network plugin with React, like in this link: https://capacitorjs.com/docs/apis/network

but it seems is not working properly, does any one knows how to do it to make it work properly ?

Thanks in advance.