transporter-app/store/connectionStore.js

12 lines
190 B
JavaScript
Raw Normal View History

2024-06-26 23:24:26 +03:00
import {proxy} from "valtio";
const store = proxy({
internet: true
})
export const setInternetConnection = ({connection}) => {
store.internet = connection
}
export default store;