import { StyleSheet, Text, View } from "react-native"; import React from "react"; import Button from "../atoms/Button"; import { RootState, useAppDispatch } from "../../redux/store"; import { useSelector } from "react-redux"; import { setCurrentSlotItemAction } from "../../redux/AOPSlice"; type Props = {}; const SlotItemActionSelector = (props: Props) => { const dispatch = useAppDispatch(); const { activeSlotIndex, activeSlotItemIndex, activeStepIndex, activeSlotItemActionIndex, steps, } = useSelector((state: RootState) => state.AOP); return (