mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-06 08:38:37 +00:00
If IDB is not present, allow app to load as normal
This commit is contained in:
2
external/lang
vendored
2
external/lang
vendored
Submodule external/lang updated: 50570240bc...9db39a2eec
@@ -138,7 +138,9 @@ function Context({ auth, sync, children, dispatcher }: Props) {
|
|||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
(async () => {
|
(async () => {
|
||||||
await client.restore();
|
if (client.db) {
|
||||||
|
await client.restore();
|
||||||
|
}
|
||||||
|
|
||||||
if (auth.active) {
|
if (auth.active) {
|
||||||
dispatcher({ type: "QUEUE_FAIL_ALL" });
|
dispatcher({ type: "QUEUE_FAIL_ALL" });
|
||||||
|
|||||||
Reference in New Issue
Block a user