chore(version-snjs): 2.7.9

This commit is contained in:
Antonella Sgarlatta
2021-06-29 19:28:56 -03:00
parent b70c4b2e8b
commit bc839ef660
3 changed files with 6 additions and 6 deletions

View File

@@ -41,7 +41,7 @@ function useSessions(
(async () => {
setRefreshing(true);
const response = await application.getSessions();
if ('error' in response || !response.data) {
if ('error' in response || isNullOrUndefined(response.data)) {
if (response.error?.message) {
setErrorMessage(response.error.message);
} else {