undo chat hallucination
This commit is contained in:
@@ -19,7 +19,10 @@ export const OrientationProvider = ({ children }) => {
|
||||
setOrientation(getOrientation());
|
||||
};
|
||||
|
||||
const subscription = Dimensions.addChangeListener(updateOrientation);
|
||||
const subscription = Dimensions.addEventListener(
|
||||
"change",
|
||||
updateOrientation,
|
||||
);
|
||||
|
||||
return () => subscription.remove();
|
||||
}, []);
|
||||
|
Reference in New Issue
Block a user