diff --git a/src/component/Blog/Blog/Main.js b/src/component/Blog/Blog/Main.js index 5efc2a5..0a860ad 100644 --- a/src/component/Blog/Blog/Main.js +++ b/src/component/Blog/Blog/Main.js @@ -17,6 +17,10 @@ const Main = ({ brdcum, bgimg }) => { }, []); const getBlogData = async () => { + /* + The reason for this, is because of the breaking I had when building the blog + I decided to save to the local storage for an hour so that it won't need to be going to the server again but I can change this + */ // Saving it locally to avoid interfering with server if (localStorage.getItem("myFit--blogData") == null) { try { @@ -95,7 +99,7 @@ const Main = ({ brdcum, bgimg }) => {
{blogData.map((data, index) => { - console.log(data) + console.log(data); if (index == 0) { return (