small ui fix

This commit is contained in:
Bilal Godil 2025-09-05 18:28:55 -07:00
parent 9318e2b6ce
commit 4c5673a350

View File

@ -51,10 +51,9 @@ export function Stepper({ children, currentStep, onStepChange, className }: Step
useEffect(() => {
const updateDimensions = () => {
if (contentRef.current) {
const rect = contentRef.current.getBoundingClientRect();
setDimensions({
width: rect.width,
height: rect.height,
width: contentRef.current.offsetWidth,
height: contentRef.current.offsetHeight,
});
}
};