aboutsummaryrefslogtreecommitdiff
path: root/src/mobile/MobileMain.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2022-07-20 09:12:11 -0400
committerbobzel <zzzman@gmail.com>2022-07-20 09:12:11 -0400
commit724c1c1228aa601fdbbed93dde68a5a9fa9c5ae9 (patch)
tree1f5f4629b4b990c619ee4e76b3997f7706aefd8f /src/mobile/MobileMain.tsx
parenta0b032c49e792e1bcaa69a584cacacb7e950bef1 (diff)
added a 'guest' login mode. added ability for mainView to be any doc, not just a docking collection.
Diffstat (limited to 'src/mobile/MobileMain.tsx')
-rw-r--r--src/mobile/MobileMain.tsx5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mobile/MobileMain.tsx b/src/mobile/MobileMain.tsx
index f85f05f53..6cbf86f77 100644
--- a/src/mobile/MobileMain.tsx
+++ b/src/mobile/MobileMain.tsx
@@ -12,10 +12,7 @@ AssignAllExtensions();
const info = await CurrentUserUtils.loadCurrentUser();
DocServer.init(window.location.protocol, window.location.hostname, 4321, info.email + ' (mobile)');
await Docs.Prototypes.initialize();
- if (info.id !== '__guest__') {
- // a guest will not have an id registered
- await CurrentUserUtils.loadUserDocument(info.id);
- }
+ await CurrentUserUtils.loadUserDocument(info.id);
document.getElementById('root')!.addEventListener(
'wheel',
event => {