bug: Uncaught TypeError: array[(array.length - 1)].split is not a function
xflihaibo opened this issue · 5 comments
xflihaibo commented
version:console-feed@3.4.0
node: v14.19.3
const [logs, setLogs] = useState([{method:'log',data: [1,2,'type',{name:1},[1,2,3]]}])
/src/Component/react-inspector/index.tsx:33
Uncaught TypeError: array[(array.length - 1)].split is not a function
logs.data Complex type is error
coolRoger commented
@xflihaibo do you get fixed on this bug? i am facing the same issue too.
heracek commented
@coolRoger The issues was introduced in 3.4.0 by #105.
Downgrading to 3.3.0 worked for me.
meds commented
Came here to report this - simple repo (just click 'break me') https://codesandbox.io/s/console-feed-forked-h7lpoq?file=/src/index.js
Downgrading that to 3.3.0 fixes it as per @heracek comment.
jooy2 commented
I have submitted a new PR regarding this issue, hopefully this will be resolved quickly. (#118)
samdenty commented
fixed in 3.4.5