fix: TypeError: Cannot read properties of undefined (reading '__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED') at react-dom-CErclyH-.js:1:5784
This commit is contained in:
@@ -1,13 +1,6 @@
|
||||
import HomeIndex from '@/components/HomeIndex'
|
||||
import { useEffect } from 'react'
|
||||
import { handleLocalforage } from '@/utils/localforage'
|
||||
|
||||
export default () => {
|
||||
useEffect(() => {
|
||||
handleLocalforage.getItem('token').then((res: any) => {
|
||||
console.log(JSON.parse(res))
|
||||
})
|
||||
}, [])
|
||||
return (
|
||||
<div>
|
||||
<HomeIndex />
|
||||
|
Reference in New Issue
Block a user