aboutsummaryrefslogtreecommitdiff
path: root/src/mobile/MobileMain.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-10-08 20:08:42 -0400
committerbobzel <zzzman@gmail.com>2020-10-08 20:08:42 -0400
commit24e31df47a0d38de8073da69cc4ea78a2e5be6cd (patch)
treee2a55a0f08b43b77a75489cc698f57795d6e6257 /src/mobile/MobileMain.tsx
parentc63d7ab902135165eaafc89bcea15805ff10f11b (diff)
added hack to save startup state. fixed runtime failure by restoring imports in main.tsx
Diffstat (limited to 'src/mobile/MobileMain.tsx')
-rw-r--r--src/mobile/MobileMain.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mobile/MobileMain.tsx b/src/mobile/MobileMain.tsx
index 3d4680d58..4a1e26078 100644
--- a/src/mobile/MobileMain.tsx
+++ b/src/mobile/MobileMain.tsx
@@ -14,7 +14,7 @@ AssignAllExtensions();
await Docs.Prototypes.initialize();
if (info.id !== "__guest__") {
// a guest will not have an id registered
- await CurrentUserUtils.loadUserDocument(info);
+ await CurrentUserUtils.loadUserDocument(info.id);
}
document.getElementById('root')!.addEventListener('wheel', event => {
if (event.ctrlKey) {