this is it fetching function co
“
nst fetchContent = async () => {
try {
const response = await fetch(blog?.contentURL);
if (!response.ok) {
throw new Error("Failed to fetch content");
}
const htmlContent = await response.text();
setContentHTML(htmlContent);
} catch (error) {
}
};
this is it fetching function const fetchContent = async () => {
try {
const response = await fetch(blog?.contentURL);
if (!response.ok) {
throw new Error("Failed to fetch content");
}
const htmlContent = await response.text();
setContentHTML(htmlContent);
} catch (error) {
}
};
“
I did try to sanitize it and added to tag to check if mobile is getting this url ( this url is form aws bucket contain html form rich text editor) this url is visible in mobile
Why it’s not showing of mobile is it dependency erroe
New contributor
Vaibhav Singh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.