Open salemlf opened 2 months ago
I don't know if this is helpful, but I will leave this comment just in case.
I think the error happens on this file and line: https://github.com/salemlf/hakubun/blob/8da4b09d34bab8578ad279620c065e0e0f0f5dda/src/components/PitchIllustration/PitchIllustration.tsx#L131
I think it, because is the only part of the code that does a destructure using brackets to access the property of an Object
(To know this I ran this command on the project's directory grep -lEr '\{.+\}(( )+)?=(( )+)?[A-Za-z0-9]+\[' .
) beside that, after minifying the code with Vite, there's only one file that has p[f]
and the near code is this const{coords:p}=a,{x1:C,x2:F}=p[f]
.
I hope this is helpful to fix the problem.
Error
Error Message
Cannot destructure property 'x1' of 'p[f]' as it is undefined.
Stack Trace
Bug/Error Report
What Caused the Bug/Error to Show Up?
It happened after swiping a card to the right, but idk why, since I had already swiped so many cards.
It's kinda funny for me to see the "cannot read property of undefined" error in a app.
Additional Info
Release Version
2.6.2-beta
Issue Created By
Gorfyx
Device Info