Skip to content

Commit 532eb15

Browse files
committed
rm animations
1 parent 8fa539b commit 532eb15

2 files changed

Lines changed: 5 additions & 11 deletions

File tree

src/frontend/pages/InsightsInterface.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -315,10 +315,8 @@ function InsightsInterface({ userId }: InsightsInterfaceProps) {
315315
</AnimatePresence>
316316

317317
{/* Main Content */}
318-
<motion.div
318+
<div
319319
className="flex-1 flex flex-col relative"
320-
initial={{ x: 0 }}
321-
animate={{ x: 0 }}
322320
style={{ backgroundColor: 'var(--background)' }}
323321
>
324322
{/* Header */}
@@ -496,7 +494,7 @@ function InsightsInterface({ userId }: InsightsInterfaceProps) {
496494

497495
{/* Bottom Header */}
498496
<BottomHeader isVisible={insights.length > 0} />
499-
</motion.div>
497+
</div>
500498
</div>
501499
);
502500
}

src/frontend/pages/Settings.tsx

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { useRef, useState, useEffect } from 'react';
2-
import { motion } from 'framer-motion';
32
import Header from '../components/Header';
43
import SettingItem from '../ui/setting-item';
54
import ToggleSwitch from '../ui/toggle-switch';
@@ -86,12 +85,9 @@ function Settings({ onBack, isDarkMode, onToggleDarkMode, userId }: SettingsProp
8685
<Header onSettingsClick={onBack} showBackArrow={true} />
8786

8887
{/* Settings Content */}
89-
<motion.div
88+
<div
9089
ref={scrollAreaRef}
91-
initial={{ opacity: 0, y: 20 }}
92-
animate={{ opacity: 1, y: 0 }}
93-
transition={{ duration: 0.5 }}
94-
className="flex-1 px-[24px] pt-[24px] space-y-3 overflow-y-auto"
90+
className="flex-1 px-[24px] pt-[48px] space-y-3 overflow-y-auto"
9591
style={{
9692
overscrollBehavior: 'none',
9793
WebkitOverflowScrolling: 'touch',
@@ -131,7 +127,7 @@ function Settings({ onBack, isDarkMode, onToggleDarkMode, userId }: SettingsProp
131127
<div className="pt-8 text-center">
132128
<p className="text-[12px] text-muted-foreground">Mentra Merge v1.0.0</p>
133129
</div>
134-
</motion.div>
130+
</div>
135131
</div>
136132
);
137133
}

0 commit comments

Comments
 (0)