Skip to content

Commit ebbc12d

Browse files
committed
Small changes
- Updated Vite
1 parent 1ca8fd3 commit ebbc12d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@
2424
"@vitejs/plugin-react": "^4.3.4",
2525
"babel-plugin-react-compiler": "^19.0.0-beta-e1e972c-20250221",
2626
"typescript": "^5.7.3",
27-
"vite": "^6.1.1"
27+
"vite": "^6.2.0"
2828
}
2929
}

frontend/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Nav } from './components/nav/Nav';
44
import { MainWrapper } from './components/MainWrapper';
55
import { RMBGView, CropView } from './components/views';
66
import { ImageProvider } from './components/contexts';
7-
import { AnimatePresence, motion } from 'framer-motion';
7+
import { AnimatePresence, motion } from 'motion/react';
88

99
function App() {
1010
return (

frontend/src/components/CropImageContainer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ export function InputImageContainer() {
181181
e.currentTarget.style.width = "100%";
182182
}
183183
imageContainer.current.style.borderRadius = '0px';
184-
console.log(calculateBrightness(e.currentTarget));
184+
// console.log(calculateBrightness(e.currentTarget));
185185
setIsImageDark(calculateBrightness(e.currentTarget));
186186
setRect(imageContainer.current.getBoundingClientRect());
187187
if (alphaPatternRef.current) {

0 commit comments

Comments
 (0)