fix: suppress guest auth errors and add SVG placeholder for missing user avatar in PreviewMapShell
Build and Release / release (push) Successful in 38s

This commit is contained in:
taDuc
2026-06-04 18:49:58 +07:00
parent 9a5dfdb2ed
commit 5aee0eccb2
2 changed files with 32 additions and 15 deletions
+2 -2
View File
@@ -62,8 +62,8 @@ export const apiResetPassword = async (payload: ResetPasswordPayload) => {
return response.data;
};
export const apiGetCurrentUser = async () => {
const response = await api.get(API.User.CURRENT);
export const apiGetCurrentUser = async (config?: any) => {
const response = await api.get(API.User.CURRENT, config);
return response?.data;
};