From f425ebc7b52d5dd4a28b883d2bfd015bc83e26ab Mon Sep 17 00:00:00 2001 From: DmitriVanGuard Date: Wed, 27 Apr 2022 15:08:18 +0300 Subject: [PATCH] setSessionValue fix --- src/stores/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stores/utils.js b/src/stores/utils.js index 2839f4cb..bfe4e117 100644 --- a/src/stores/utils.js +++ b/src/stores/utils.js @@ -5,4 +5,4 @@ if (process.browser) { } export const getSessionValue = () => window.__SAPPER__.session -export const setSessionValue = (value) => Object.assign(getSessionValue, value) +export const setSessionValue = (value) => Object.assign(getSessionValue(), value)