(data: AccessToken)
| 69 | }) |
| 70 | |
| 71 | const login = async (data: AccessToken) => { |
| 72 | const response = await LoginService.loginAccessToken({ |
| 73 | formData: data, |
| 74 | }) |
| 75 | localStorage.setItem('access_token', response.access_token) |
| 76 | } |
| 77 | |
| 78 | const loginMutation = useMutation({ |
| 79 | mutationFn: login, |
nothing calls this directly
no test coverage detected