🐛 Fix framer motion missing layout animations

This commit is contained in:
Luke Vella 2023-03-03 12:46:23 +00:00
parent 309cb109aa
commit aab999598e

View file

@ -1,4 +1,4 @@
import { AnimatePresence, domAnimation, LazyMotion, m } from "framer-motion";
import { AnimatePresence, domMax, LazyMotion, m } from "framer-motion";
import { useRouter } from "next/router";
import React from "react";
@ -14,7 +14,7 @@ const StandardLayout: React.FunctionComponent<{
}> = ({ children, ...rest }) => {
const router = useRouter();
return (
<LazyMotion features={domAnimation}>
<LazyMotion features={domMax}>
<UserProvider>
<DayjsProvider>
<ModalProvider>