chore: adapt <Image> & <Link> to next.js 13

This commit is contained in:
swve 2022-12-14 18:22:24 +01:00
parent 377391234b
commit 73fd013e07
9 changed files with 83 additions and 81 deletions

View file

@ -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";