Skip to content

Commit

Permalink
setSessionValue fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriVanGuard committed Apr 27, 2022
1 parent 4147923 commit f425ebc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stores/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit f425ebc

Please sign in to comment.