From 3be2062f5f2083e21977b37007cc2dc7fb7bf2a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Uribe=20Stengel?= Date: Thu, 16 Jul 2020 13:59:12 +0200 Subject: [PATCH] Re-add the timer before loading app so db has time to fetch data. --- client/main.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/main.jsx b/client/main.jsx index 897e9a1..a864387 100644 --- a/client/main.jsx +++ b/client/main.jsx @@ -29,5 +29,7 @@ Meteor.startup(() => { Meteor.subscribe('activeDeviceCollection'); } - ReactDOM.render(, document.getElementById('root')); + Meteor.setTimeout(function() { + ReactDOM.render(, document.getElementById('root')); + }, 1250); }); \ No newline at end of file