Skip to content

Commit a213139

Browse files
committed
fix(useOrientation): fix hook return value
1 parent dc5c94b commit a213139

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/useOrientation.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const useOrientation = () => {
2828
};
2929
}, [window.innerWidth, window.innerHeight]);
3030

31-
return { orientation };
31+
return orientation;
3232
};
3333

3434
export default useOrientation;

0 commit comments

Comments
 (0)