feature/IO-3103-Ant5-Notifications
This commit is contained in:
@@ -1,14 +1,16 @@
|
||||
import { InputNumber, notification } from "antd";
|
||||
import { InputNumber } from "antd";
|
||||
import React, { useState } from "react";
|
||||
import { useMutation } from "@apollo/client";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { UPDATE_ASSOCIATION } from "../../graphql/user.queries";
|
||||
import { useNotification } from "../../contexts/Notifications/notificationContext.jsx";
|
||||
|
||||
export default function ShopUsersAuthEdit({ association }) {
|
||||
const { t } = useTranslation();
|
||||
const [updateAssociation] = useMutation(UPDATE_ASSOCIATION);
|
||||
const [open, setOpen] = useState(false);
|
||||
const [value, setValue] = useState(association.authlevel);
|
||||
const notification = useNotification();
|
||||
|
||||
const handleSave = async () => {
|
||||
setOpen(false);
|
||||
|
||||
Reference in New Issue
Block a user