enable add/remove homie
This commit is contained in:
@@ -3,6 +3,7 @@ import axios from "axios";
|
||||
import { Table, Collapsible, CollapsibleItem, Button, TextInput, Row, Col, Select } from "react-materialize";
|
||||
import M from "materialize-css";
|
||||
import YesNoModal from "../common/YesNoModal";
|
||||
import { errorToast } from "../common/errorHelpers";
|
||||
|
||||
const ListChips = (props) => {
|
||||
const [chipsList, setChipsList] = useState([]);
|
||||
@@ -114,10 +115,6 @@ const ListChips = (props) => {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
const errorToast = () => M.toast({ html: "Yo! It ain't workin'" });
|
||||
|
||||
const getChipData = (chipId) => chipsList.find(chip => chip.id === chipId);
|
||||
|
||||
const checkIfPairExists = (baseChipId, secondaryChipId) => {
|
||||
|
||||
Reference in New Issue
Block a user