Replace _id by id
This commit is contained in:
@@ -26,7 +26,7 @@ export default function ResetDialog({lyen, title, activation, content, open, set
|
||||
|
||||
if (activation) {
|
||||
const user = await jwennUserEpiEmail(email)
|
||||
localStorage.setItem('user-id', user?._id)
|
||||
localStorage.setItem('user-id', user?.id)
|
||||
}
|
||||
|
||||
setLoading(false)
|
||||
|
||||
Reference in New Issue
Block a user