diff --git a/src/components/Home.js b/src/components/Home.js index 9470c73..2c9c365 100644 --- a/src/components/Home.js +++ b/src/components/Home.js @@ -166,14 +166,9 @@ const Home = () => { setAlert({ alertName: 'Content was edited successfully!', alertSeverity: 'info' }); const updateItem = doc(getFirestore(), "contents", id); await updateDoc(updateItem, { -<<<<<<< HEAD - contentTitle: editContentArray.contentTitle, - contentDetails: editContentArray.contentDetails -======= contentTitle: editContentTitleRef.current.value, contentDate: editContentDateRef.current.value, contentDetails: editContentDetailsRef.current.value ->>>>>>> 235d3b9 (fixes and improvements) }); setLoadingBackdrop(false); setTimeout(() => { setAlert({ alertName: '', alertSeverity: '' }) }, 5000); @@ -376,4 +371,4 @@ const Home = () => { ); } -export default Home; +export default Home; \ No newline at end of file