import {proxy} from "valtio"; const store = proxy({ internet: true }) export const setInternetConnection = ({connection}) => { store.internet = connection } export default store;