diff --git a/app/routes/aup.tsx b/app/routes/aup.tsx index 0c7ebda..6981b04 100644 --- a/app/routes/aup.tsx +++ b/app/routes/aup.tsx @@ -100,7 +100,10 @@ const AcceptableUsePolicy = () => { const {user, aup} = useLoaderData() const [signature, setSignature] = useState('') - const AUP = getMDXComponent(aup, {currentUser: user.username}) + const AUP = getMDXComponent(aup, { + currentUser: user.username, + startScreen: false + }) return (
diff --git a/app/routes/doodle.$id.tsx b/app/routes/doodle.$id.tsx index 2a7552b..ff97b3c 100644 --- a/app/routes/doodle.$id.tsx +++ b/app/routes/doodle.$id.tsx @@ -33,7 +33,7 @@ const DoodlePreview = () => { const [doodleClass, setDoodleClass] = useState(0) const Preview = useMemo( - () => getMDXComponent(doodle.bodyCache, {currentUser}), + () => getMDXComponent(doodle.bodyCache, {currentUser, startScreen: true}), [doodle.bodyCache, currentUser] )