Run additional code on user creation
I want to run additional code on user creation, how do I achieve this?
Solution
Is that api you are importing from client or server? It looks like you are using useMutation, which is a react hook. You want to use the api from the server