diff --git a/src/components/Atomic/MotionElement/MotionElement.tsx b/src/components/Atomic/MotionElement/MotionElement.tsx index 03f838c..cf7eb45 100644 --- a/src/components/Atomic/MotionElement/MotionElement.tsx +++ b/src/components/Atomic/MotionElement/MotionElement.tsx @@ -2,7 +2,7 @@ import React, { FC } from 'react' import { motion } from 'framer-motion' const MotionElement: FC = (props) => { - const noAnimations = process.env.REACT_APP_NO_ANIMATIONS === 'true' + const noAnimations = process.env.REACT_APP_NO_ANIMATIONS === 'true' || process.env.REACT_APP_MOCK_API === 'true' const { divStyle, children, noAnimations: noAnimationsProp, ...rest } = props return noAnimations || noAnimationsProp ? (