20085: Sharing dialog immediately saves changes
[arvados-workbench2.git] / src / views-components / sharing-dialog / sharing-dialog-component.tsx
index 0cc9fc90f574d468c373e1b69685b73536d505c5..ac1ebde1a016a81e435235426ddd8881ed04c1de 100644 (file)
@@ -72,7 +72,6 @@ export default (props: SharingDialogComponentProps) => {
     const [tabNr, setTabNr] = React.useState<number>(SharingDialogTab.PERMISSIONS);
     const [expDate, setExpDate] = React.useState<Date>();
     const [withExpiration, setWithExpiration] = React.useState<boolean>(false);
-    const [permissionsCount, setPermissionsCount] = React.useState<number>(0);
 
     // Sets up the dialog depending on the resource type
     if (!showTabs && tabNr !== SharingDialogTab.PERMISSIONS) {