fix(useOrientation): fix hook return value

This commit is contained in:
Botzy 2025-02-25 15:04:27 +02:00
parent dc5c94b461
commit a213139319

View file

@ -28,7 +28,7 @@ const useOrientation = () => {
};
}, [window.innerWidth, window.innerHeight]);
return { orientation };
return orientation;
};
export default useOrientation;