From aa52bb339a6016e8ed7833b9abaa4e0abb7f2351 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 24 Aug 2018 16:55:53 +0300 Subject: initial reload fix --- vnext/src/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vnext/src/App.js') diff --git a/vnext/src/App.js b/vnext/src/App.js index 730deb19..3ca7e0bf 100644 --- a/vnext/src/App.js +++ b/vnext/src/App.js @@ -29,7 +29,7 @@ export default class App extends React.Component { } this.state = { visitor: { - uid: cookies.load('_juick_uid') || 0, + uid: Number(cookies.load('_juick_uid')), hash: cookies.load('hash') } }; -- cgit v1.2.3