Table updates for appointments. Initial appointments screen + fetching.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user