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