diff --git a/src/components/LessonPlanCreate.jsx b/src/components/LessonPlanCreate.jsx
index d405d41..0163f48 100644
--- a/src/components/LessonPlanCreate.jsx
+++ b/src/components/LessonPlanCreate.jsx
@@ -1,3 +1,4 @@
+import Container from "react-bootstrap/Container";
import Col from "react-bootstrap/Col";
import Row from "react-bootstrap/Row";
import Image from "react-bootstrap/Image";
@@ -42,14 +43,17 @@ export const LessonPlanCreate = () => {
const [lessonPlan, setLessonPlan] = useState(lessonPlanTemplate);
const [authorised, setAuthorised] = useState(false);
-
+
useEffect(() => {
if (user._id === userId) {
setAuthorised(true);
}
if (!lessonApiRef.current) {
- lessonApiRef.current = new LessonPlanAPI(import.meta.env.VITE_API_ENDPOINT, userId);
+ lessonApiRef.current = new LessonPlanAPI(
+ import.meta.env.VITE_API_ENDPOINT,
+ userId
+ );
}
}, [user, userId, authorised]);
@@ -114,38 +118,38 @@ export const LessonPlanCreate = () => {
return (
<>
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
+
New Lesson Plan