Farmbot-Web-App/frontend/farmware/images/actions.ts

6 lines
158 B
TypeScript

import { Actions } from "../../constants";
export function selectImage(uuid: string | undefined) {
return { type: Actions.SELECT_IMAGE, payload: uuid };
}