aboutsummaryrefslogtreecommitdiff
path: root/vnext/src
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-12-10 17:34:05 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:54 +0300
commitf9c2391f65d183d292c895bffdcf9c34ab447a23 (patch)
tree9f25cb5cc62ab57b5f43ed446f77d86447eb3215 /vnext/src
parentfe956223997cca5b9e3190fb69790027b1c2c54a (diff)
drop unused cookie
Diffstat (limited to 'vnext/src')
-rw-r--r--vnext/src/App.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/vnext/src/App.js b/vnext/src/App.js
index 3dcecf66..94b2ced5 100644
--- a/vnext/src/App.js
+++ b/vnext/src/App.js
@@ -32,7 +32,7 @@ export default class App extends React.Component {
}
this.state = {
visitor: {
- uid: Number(cookies.load('_juick_uid')),
+ uid: 0,
hash: cookies.load('hash')
},
appMarginLeft: 'inherit'
@@ -194,7 +194,6 @@ export default class App extends React.Component {
);
}
auth = (visitor) => {
- cookies.save('_juick_uid', visitor.uid, { path: '/' });
this.setState({
visitor: visitor
});