The .setItem() local storage function returns undefined . You need to perform the local storage update and then return the new state object:
確定! 回上一頁