bakunawa
bakunawa
SSolidJS
Created by bakunawa on 1/25/2024 in #support
Cached resource runs into an error when using an action
might actually have something to do with the component library I'm using hmm.
5 replies
SSolidJS
Created by bakunawa on 1/25/2024 in #support
Cached resource runs into an error when using an action
yeah it's definitely caused by the mutation action. thing is even if I comment out the server function and just log something, same error occurs
const createEntityAction = action(async (data: any) => {
console.log({ data });
// try {
// const agent = await addAgent(data);
// } catch (error) {
// throw error;
// }
});
const createEntityAction = action(async (data: any) => {
console.log({ data });
// try {
// const agent = await addAgent(data);
// } catch (error) {
// throw error;
// }
});
5 replies