Skip to content

Commit

Permalink
restore motion component
Browse files Browse the repository at this point in the history
jeremyphilemon committed Dec 10, 2024
1 parent 461de08 commit 22a1e73
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions components/message.tsx
Original file line number Diff line number Diff line change
@@ -48,10 +48,10 @@ const PurePreviewMessage = ({
const [mode, setMode] = useState<'view' | 'edit'>('view');

return (
<div
<motion.div
className="w-full mx-auto max-w-3xl px-4 group/message"
// initial={{ y: 5, opacity: 0 }}
// animate={{ y: 0, opacity: 1 }}
initial={{ y: 5, opacity: 0 }}
animate={{ y: 0, opacity: 1 }}
data-role={message.role}
>
<div
@@ -215,7 +215,7 @@ const PurePreviewMessage = ({
)}
</div>
</div>
</div>
</motion.div>
);
};

0 comments on commit 22a1e73

Please sign in to comment.