⚰️ front: removing some unused code (#50)

This commit is contained in:
Eric Doughty-Papassideris
2024-05-09 21:33:52 +02:00
committed by ericlinagora
parent 12a51d761c
commit 3e2adf9c1c
7 changed files with 2 additions and 8 deletions
@@ -12,7 +12,7 @@ import { Base, Info } from '@atoms/text';
import { Input } from 'app/atoms/input/input-text';
import { CheckboxSlider } from 'app/atoms/input/input-checkbox-slider';
import { Button } from 'app/atoms/button/button';
import { ShieldExclamationIcon, CalendarIcon, PencilAltIcon } from '@heroicons/react/outline';
import { CalendarIcon, PencilAltIcon } from '@heroicons/react/outline';
import { ConfirmModal } from 'app/atoms/modal/confirm';
import Styles from './styles';
@@ -9,7 +9,7 @@ import { Base } from '@atoms/text';
import { Input } from 'app/atoms/input/input-text';
import { CheckboxSlider } from 'app/atoms/input/input-checkbox-slider';
import { Button } from 'app/atoms/button/button';
import { ShieldCheckIcon, PencilAltIcon, ShieldExclamationIcon } from '@heroicons/react/outline';
import { ShieldCheckIcon, PencilAltIcon } from '@heroicons/react/outline';
import { ConfirmModal } from 'app/atoms/modal/confirm';
import Styles from './styles';
@@ -9,7 +9,6 @@ import { useUser } from '@features/users/hooks/use-user';
import { useSearchUsers } from '@features/users/hooks/use-search-user-list';
import { changeUserAccess, getUserAccessLevel, getAllUserAccesses } from '@features/files/utils/access-info-helpers';
import { Subtitle } from '@atoms/text';
import { Input } from '@atoms/input/input-text';
import { Button } from '@atoms/button/button';
import { SearchIcon } from '@heroicons/react/solid';
@@ -128,7 +127,6 @@ export const InternalUsersAccessManager = ({
</div>
{showResults &&
<>
{/*<div className="flex flex-row border-t !border-x-0 dark:border-zinc-700" />*/}
<div className="relative w-full h-0"> {/* Necessary so the relative results don't take height */}
<div className={"rounded-md absolute z-10 w-full shadow-md border bg-white dark:bg-zinc-900 mt-1 dark:border-zinc-700"}>
{ shownResults && shownResults.map((user, index) =>