diff --git a/front/components/Drags/Element.tsx b/front/components/Drags/Element.tsx index 3d5d30d0..319dd6ca 100644 --- a/front/components/Drags/Element.tsx +++ b/front/components/Drags/Element.tsx @@ -11,11 +11,16 @@ function Element(props: any) { {(provided) => (

{props.element.name}

- -   + +   - -   + +  
)} diff --git a/front/components/Editor/Editor.tsx b/front/components/Editor/Editor.tsx index c5ba7ea6..f4f6c5d7 100644 --- a/front/components/Editor/Editor.tsx +++ b/front/components/Editor/Editor.tsx @@ -7,7 +7,7 @@ import { AuthContext } from "../Security/AuthProvider"; import learnhouseIcon from "public/learnhouse_icon.png"; import { ToolbarButtons } from "./Toolbar/ToolbarButtons"; import { motion, AnimatePresence } from "framer-motion"; -import Image from "next/image"; +import Image from "next/legacy/image"; import styled from "styled-components"; import { getBackendUrl } from "../../services/config"; import { SlashIcon } from "@radix-ui/react-icons"; diff --git a/front/components/Security/HeaderProfileBox.tsx b/front/components/Security/HeaderProfileBox.tsx index 29a1bc0c..b5f27952 100644 --- a/front/components/Security/HeaderProfileBox.tsx +++ b/front/components/Security/HeaderProfileBox.tsx @@ -14,12 +14,12 @@ export const HeaderProfileBox = () => { diff --git a/front/components/UI/Elements/Menu.tsx b/front/components/UI/Elements/Menu.tsx index e07ec65a..ff741359 100644 --- a/front/components/UI/Elements/Menu.tsx +++ b/front/components/UI/Elements/Menu.tsx @@ -4,7 +4,7 @@ import { HeaderProfileBox } from "../../Security/HeaderProfileBox"; import learnhouseIcon from "public/learnhouse_icon.png"; import learnhouseLogo from "public/learnhouse_logo.png"; import Link from "next/link"; -import Image from "next/image"; +import Image from "next/legacy/image"; import { useRouter } from "next/router"; export const Menu = () => { @@ -17,9 +17,9 @@ export const Menu = () => { - - - + + +
@@ -33,7 +33,7 @@ export const Menu = () => {