lf
This commit is contained in:
parent
901c401d2a
commit
10b58fc19b
3 changed files with 2 additions and 4 deletions
|
@ -26,7 +26,6 @@ import EnteSpinner from "@ente/shared/components/EnteSpinner";
|
|||
import { MessageContainer } from "@ente/shared/components/MessageContainer";
|
||||
import AppNavbar from "@ente/shared/components/Navbar/app";
|
||||
import { PHOTOS_PAGES as PAGES } from "@ente/shared/constants/pages";
|
||||
import { Events, eventBus } from "@ente/shared/events";
|
||||
import { useLocalState } from "@ente/shared/hooks/useLocalState";
|
||||
import HTTPService from "@ente/shared/network/HTTPService";
|
||||
import { LS_KEYS, getData } from "@ente/shared/storage/localStorage";
|
||||
|
@ -52,7 +51,7 @@ import "photoswipe/dist/photoswipe.css";
|
|||
import { createContext, useEffect, useRef, useState } from "react";
|
||||
import LoadingBar from "react-top-loading-bar";
|
||||
import DownloadManager from "services/download";
|
||||
import exportService, { resumeExportsIfNeeded } from "services/export";
|
||||
import { resumeExportsIfNeeded } from "services/export";
|
||||
import { photosLogout } from "services/logout";
|
||||
import {
|
||||
getMLSearchConfig,
|
||||
|
|
|
@ -329,7 +329,7 @@ export default function Gallery() {
|
|||
await getRecoveryKey();
|
||||
return true;
|
||||
} catch (e) {
|
||||
await logout();
|
||||
logout();
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
|
|
@ -3,7 +3,6 @@ import { putAttributes } from "@ente/accounts/api/user";
|
|||
import { ApiError } from "@ente/shared/error";
|
||||
import HTTPService from "@ente/shared/network/HTTPService";
|
||||
import { getEndpoint, getFamilyPortalURL } from "@ente/shared/network/api";
|
||||
import localForage from "@ente/shared/storage/localForage";
|
||||
import { LS_KEYS, getData } from "@ente/shared/storage/localStorage";
|
||||
import {
|
||||
getToken,
|
||||
|
|
Loading…
Add table
Reference in a new issue