unhandled runtime error
Unanswered
Polar bear posted this in #help-forum
Polar bearOP
In the github repository below ⬇ï¸â€¦
Im getting an invariant missing and unhandled runtime error. Not sure why.
Im calling a server action that gets data from database and returns a boolean. The boolean is used to push onto an array that renders tabs for a navigation bar based of if its true or not. Sometimes it works, but when i refresh or pay for a service .. when stripe sends me back to my page the tabs disappear and i have an error. Not sure what im doing wrong. 😑 been stuck for weeks on this issue
https://github.com/ApexCyberPunk/PeerReview
Im getting an invariant missing and unhandled runtime error. Not sure why.
Im calling a server action that gets data from database and returns a boolean. The boolean is used to push onto an array that renders tabs for a navigation bar based of if its true or not. Sometimes it works, but when i refresh or pay for a service .. when stripe sends me back to my page the tabs disappear and i have an error. Not sure what im doing wrong. 😑 been stuck for weeks on this issue
https://github.com/ApexCyberPunk/PeerReview
5 Replies
@Polar bear In the github repository below ⬇ï¸â€¦
Im getting an invariant missing and unhandled runtime error. Not sure why.
Im calling a server action that gets data from database and returns a boolean. The boolean is used to push onto an array that renders tabs for a navigation bar based of if its true or not. Sometimes it works, but when i refresh or pay for a service .. when stripe sends me back to my page the tabs disappear and i have an error. Not sure what im doing wrong. 😑 been stuck for weeks on this issue
https://github.com/ApexCyberPunk/PeerReview
Dwarf Crocodile
Add a link to the line thats getting the error through github no one knows where you're code is throwing the error. Also screenshots are trivial your picture is quite blurry
@Polar bear https://github.com/ApexCyberPunk/PeerReview/blob/51e89d4974d7ec91113bde5e6a5abfe267b5ee36/dashbar.js#L68
Polar bearOP
Call stack shows this line
@Polar bear https://github.com/ApexCyberPunk/PeerReview/blob/51e89d4974d7ec91113bde5e6a5abfe267b5ee36/dashbar.js#L41
Polar bearOP
Main error is this line