feat(ui): improve mobile responsive layouts
This commit is contained in:
+8
@@ -41,6 +41,14 @@ export async function updateUserSettings(
|
||||
return res.data
|
||||
}
|
||||
|
||||
/**
|
||||
* Update interface language preference
|
||||
*/
|
||||
export async function updateUserLanguage(language: string): Promise<ApiResponse> {
|
||||
const res = await api.put('/api/user/self', { language })
|
||||
return res.data
|
||||
}
|
||||
|
||||
/**
|
||||
* Delete user account
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user