Mark job as open upon cancelled appointment IO-678

This commit is contained in:
Patrick Fic
2021-02-23 11:18:39 -08:00
parent a27390e2d3
commit ce8d795b56
3 changed files with 9 additions and 8 deletions

View File

@@ -1,10 +1,9 @@
import { DownOutlined, UpOutlined } from "@ant-design/icons";
import React from "react";
import { UpOutlined, DownOutlined } from "@ant-design/icons";
export default function FormListMoveArrows({ move, index, total }) {
const upDisabled = index === 0;
const downDisabled = index === total - 1;
console.log(index);
const handleUp = () => {
move(index, index - 1);
};