9 lines
226 B
TypeScript
9 lines
226 B
TypeScript
import { useMutation } from '@tanstack/react-query';
|
|
import { postEventJoinMutation } from '@/client/@tanstack/react-query.gen';
|
|
|
|
export function useJoinEvent() {
|
|
return useMutation({
|
|
...postEventJoinMutation(),
|
|
});
|
|
}
|