@@ -19,18 +19,18 @@ This library provides a simple readable store that automatically subscribes to e
1919
2020``` svelte
2121<script lang="ts">
22- import { networkInformationStore as store } from 'svelte-network-information';
22+ import { networkInformationStore as store } from 'svelte-network-information';
2323</script>
2424
2525<ul>
26- <li>State: {$store.state}</li>
27- <li>connectivity: {$store.connectivity}</li>
28- <li>downlink: {$store.downlink}</li>
29- <li>downlinkMax: {$store.downlinkMax}</li>
30- <li>effectiveType: {$store.effectiveType}</li>
31- <li>rtt: {$store.rtt}</li>
32- <li>saveData: {$store.saveData}</li>
33- <li>type: {$store.type}</li>
26+ <li>State: {$store.state}</li>
27+ <li>connectivity: {$store.connectivity}</li>
28+ <li>downlink: {$store.downlink}</li>
29+ <li>downlinkMax: {$store.downlinkMax}</li>
30+ <li>effectiveType: {$store.effectiveType}</li>
31+ <li>rtt: {$store.rtt}</li>
32+ <li>saveData: {$store.saveData}</li>
33+ <li>type: {$store.type}</li>
3434</ul>
3535```
3636
@@ -40,10 +40,10 @@ To subscribe to changes for only a specific selection of values, simply create a
4040
4141``` svelte
4242<script lang="ts">
43- import { networkInformationStore } from 'svelte-network-information';
44- import { derived } from 'svelte/store';
43+ import { networkInformationStore } from 'svelte-network-information';
44+ import { derived } from 'svelte/store';
4545
46- const rtt = derived(networkInformationStore, ($store) => $store.rtt);
46+ const rtt = derived(networkInformationStore, ($store) => $store.rtt);
4747</script>
4848
4949rtt: {$rtt}
0 commit comments