diff --git a/src/component/calendar.astro b/src/component/calendar.astro
index 64a5413..4bba72e 100644
--- a/src/component/calendar.astro
+++ b/src/component/calendar.astro
@@ -25,7 +25,7 @@ let calendar = new Calendar(calendarEl, {
},
datesSet: function(info) {
// Called when the date range changes (e.g., when navigating months)
- console.log(info);
+ // console.log(info);
}
});
calendar.render();
diff --git a/src/component/editor.astro b/src/component/editor.astro
index f3db6c8..28661a5 100644
--- a/src/component/editor.astro
+++ b/src/component/editor.astro
@@ -1,11 +1,24 @@
+---
+const {
+ entry,
+ editMode
+} = Astro.props
+---
-
+
+{entry}
+{editMode}
- export function getHTML() {
- return quill.getSemanticHTML()
- }
-
\ No newline at end of file
+
+
\ No newline at end of file
diff --git a/src/pages/index.astro b/src/pages/index.astro
index 4ecd3f0..1d65b64 100644
--- a/src/pages/index.astro
+++ b/src/pages/index.astro
@@ -3,31 +3,12 @@ import "../styles/global.css"
import Layout from "../component/core/layout.astro"
import Calendar from "../component/calendar.astro"
import Editor from "../component/editor.astro"
+
+
+const res = await fetch(new URL('/api/entry?id=5', Astro.url))
+const en = await res.json()
---
-
@@ -37,7 +18,7 @@ import Editor from "../component/editor.astro"
-
+
\ No newline at end of file