mirror of https://github.com/jitsi/jitsi-meet
parent
bfd5db355d
commit
bc43f00d28
@ -0,0 +1,11 @@ |
||||
import { STORE_NAME } from './constants'; |
||||
|
||||
/** |
||||
* A selector for the internet online status. |
||||
* |
||||
* @param {Object} state - The redux state. |
||||
* @returns {boolean} |
||||
*/ |
||||
export function isOnline(state) { |
||||
return state[STORE_NAME].isOnline; |
||||
} |
Loading…
Reference in new issue