Table updates for appointments. Initial appointments screen + fetching.

This commit is contained in:
Patrick Fic
2020-02-05 11:44:07 -08:00
parent ba9e91d0c8
commit d216b9fa23
42 changed files with 2145 additions and 16 deletions

View File

@@ -12,9 +12,7 @@ export default function ProfileShopsContainer() {
const [updateAssocation] = useMutation(UPDATE_ASSOCIATION);
const updateActiveShop = activeShopId => {
console.log("activeShopId", activeShopId);
data.associations.map(record => {
data.associations.forEach(record => {
updateAssocation({
variables: {
assocId: record.id,