mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-07 08:26:51 +00:00
fix: revert mode prop in fetch and AnimatePresence
This commit is contained in:
parent
9883416ba6
commit
7230211418
2 changed files with 2 additions and 2 deletions
|
|
@ -87,7 +87,7 @@ export function ContactForm({ formType, buttonText, buttonClassName }: ContactFo
|
|||
"Content-Type": "application/json",
|
||||
Accept: "application/json",
|
||||
},
|
||||
agent: "cors", // Ensure proper CORS handling
|
||||
mode: "cors", // Ensure proper CORS handling
|
||||
body: JSON.stringify(data),
|
||||
})
|
||||
|
||||
|
|
|
|||
|
|
@ -402,7 +402,7 @@ export function UseExamplesSection({ agentTitle = false }: { agentTitle?: boolea
|
|||
|
||||
{/* Mobile: Vertical Staggered List */}
|
||||
<div className="md:hidden flex flex-col gap-2 px-2 pb-12 max-w-md mx-auto">
|
||||
<AnimatePresence agent="popLayout">
|
||||
<AnimatePresence mode="popLayout">
|
||||
{positionedItems.slice(0, showAllMobile ? undefined : 8).map((item, index) => (
|
||||
<motion.div
|
||||
key={item.use} // Use a unique key for proper animation tracking
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue