export const getData = async (fetch: any) => {
const res = (await fetch()) || {};
return res.data;
};