Error: action is not a function
Answered
Masai Lion posted this in #help-forum
Masai LionOP
I was changing moving some code around and now my server action randomly doesnt work. 🤔
little confused on where to even start looking as the error thrown doesnt mention any of my code.
little confused on where to even start looking as the error thrown doesnt mention any of my code.
Answered by Masai Lion
lol if you add
export const runtime = 'edge'; to the action instead of the page using it everything breaks and it throws a really unhelpful error like above.1 Reply
Masai LionOP
lol if you add
export const runtime = 'edge'; to the action instead of the page using it everything breaks and it throws a really unhelpful error like above.Answer