undo chat hallucination

This commit is contained in:
Dean 2024-02-20 13:12:40 -08:00
parent b802bb01e6
commit c77bc476aa

View File

@ -19,7 +19,10 @@ export const OrientationProvider = ({ children }) => {
setOrientation(getOrientation());
};
const subscription = Dimensions.addChangeListener(updateOrientation);
const subscription = Dimensions.addEventListener(
"change",
updateOrientation,
);
return () => subscription.remove();
}, []);