⚰️ front: removing some unused code (#50)
This commit is contained in:
committed by
ericlinagora
parent
12a51d761c
commit
3e2adf9c1c
+1
-1
@@ -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';
|
||||
|
||||
+1
-1
@@ -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';
|
||||
|
||||
-2
@@ -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) =>
|
||||
|
||||
Reference in New Issue
Block a user