fix: connect header and layout user info to api, fix setting api and lazy load
This commit is contained in:
@@ -15,7 +15,7 @@ import {
|
||||
import { type InfoRowData } from '../types/settingsType';
|
||||
|
||||
export async function fetchProfile() {
|
||||
return apiClient.post<GetProfileApiResponse>('/Profile/GetProfile');
|
||||
return apiClient.post<GetProfileApiResponse>('/Profile/GetProfile', {});
|
||||
}
|
||||
|
||||
export async function saveProfile(payload: {
|
||||
|
||||
Reference in New Issue
Block a user