Skip to content

Commit

Permalink
hotfix: ts fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shalanah committed Apr 3, 2024
1 parent b44ed31 commit 7af9251
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/verticalCenterWithMargin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const VerticalCenterWithMargin = ({ children = null }: Props) => {
useCanIUseContext();
const { camera, size } = useThree();

const y = getYPosition(verticalView);
const y = getYPosition();
const position = [0, y, -cartonSide * (scale - 1)];

const [spring] = useSpring(
Expand Down

0 comments on commit 7af9251

Please sign in to comment.