Feature/add user activiry crud
This commit is contained in:
@@ -8,7 +8,7 @@ export const useSidebarBadge = () => {
|
||||
const fetcher = async (url) => {
|
||||
try {
|
||||
const response = await request(url);
|
||||
return response.data;
|
||||
return response.data.data;
|
||||
} catch (error) {
|
||||
throw new Error();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user