Update Actions.tsx

This commit is contained in:
zsviczian 2022-03-21 15:20:13 +01:00 committed by GitHub
parent 93bd035d03
commit 8d60f22ff7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -196,7 +196,7 @@ export const ShapesSwitcher = ({
setDeviceType: (obj: Partial<DeviceType>) => void;
}) => {
const penDetected = useDeviceType().penDetected;
app.setState({ toastMessage: penDetected ? "penOn" : "penOff" }); //debug iOS
setAppState({ toastMessage: penDetected ? "penOn" : "penOff" }); //debug iOS
return (
<>
{SHAPES.map(({ value, icon, key }, index) => {