export const getDataToDele = async () => {
try {
const dataStrapi = await fetchData(
"http://localhost:1337/api/i18ns?populate=*"
);
return dataStrapi.data;
} catch (error) {
console.error("Error fetching data from Strapi:", error);
}
};
I did the same and it worked. But I have a problem as follows:
I used fetch API to get data from strapi but I only received 50 records out of my total of 900. I’m thinking of using Entity service to get data but it doesn’t seem to work in admin/extension/components? Anyone have any ideas for this problem? Thanks