massalabs / station-massa-wallet

Massa Station Wallet Module
MIT License
12 stars 8 forks source link

Add networkStore #935

Closed pivilartisant closed 4 months ago

Thykof commented 4 months ago

Hi @pivilartisant can you provide context for this PR?

pivilartisant commented 4 months ago

Hi @pivilartisant can you provide context for this PR?

Hi yes, it aims to standardize the use of stores across all our products.

The specific objective of this pr is to save the isMainnet variable in the network store on app render. In order to be able to reuse it in multiple usecases, although it seems that a hook is best suited be this case.

sonarcloud[bot] commented 4 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud