diff --git a/frontend/src/components/Modals/MangeWorkspace/Documents/WorkspaceDirectory/WorkspaceFileRow/index.jsx b/frontend/src/components/Modals/MangeWorkspace/Documents/WorkspaceDirectory/WorkspaceFileRow/index.jsx index 93b62cef..3367c728 100644 --- a/frontend/src/components/Modals/MangeWorkspace/Documents/WorkspaceDirectory/WorkspaceFileRow/index.jsx +++ b/frontend/src/components/Modals/MangeWorkspace/Documents/WorkspaceDirectory/WorkspaceFileRow/index.jsx @@ -4,12 +4,7 @@ import { getFileExtension, middleTruncate, } from "@/utils/directories"; -import { - ArrowUUpLeft, - File, - PushPin, - PushPinSlash, -} from "@phosphor-icons/react"; +import { ArrowUUpLeft, File, PushPin } from "@phosphor-icons/react"; import Workspace from "@/models/workspace"; import debounce from "lodash.debounce"; import { Tooltip } from "react-tooltip"; @@ -144,28 +139,27 @@ const PinItemToWorkspace = memo(({ workspace, docPath, item }) => { if (!item) return
; - const PinIcon = pinned ? PushPinSlash : PushPin; return (
setHover(true)} onMouseLeave={() => setHover(false)} + className="flex gap-x-2 items-center hover:bg-main-gradient p-[2px] rounded ml-2" > -
); @@ -184,7 +178,7 @@ const RemoveItemFromWorkspace = ({ item, onClick }) => { id={`remove-${item.id}`} place="bottom" delayShow={300} - className="tooltip !text-xs" + className="tooltip invert !text-xs" />
);