[WEB-4661] fix: move helpers file into utils #7568
This commit is contained in:
parent
a085c0ec62
commit
047080a66f
59 changed files with 68 additions and 72 deletions
|
|
@ -2,7 +2,7 @@ import { ChevronRight } from "lucide-react";
|
|||
import React, { useState, useRef, useContext } from "react";
|
||||
import { usePopper } from "react-popper";
|
||||
// helpers
|
||||
import { cn } from "../../../helpers";
|
||||
import { cn } from "../../utils";
|
||||
// types
|
||||
import { TContextMenuItem, ContextMenuContext, Portal } from "./root";
|
||||
|
||||
|
|
|
|||
|
|
@ -1,11 +1,9 @@
|
|||
import React, { useEffect, useRef, useState } from "react";
|
||||
import ReactDOM from "react-dom";
|
||||
// plane helpers
|
||||
import { useOutsideClickDetector } from "@plane/hooks";
|
||||
// helpers
|
||||
import { cn } from "../../../helpers";
|
||||
// hooks
|
||||
import { usePlatformOS } from "../../hooks/use-platform-os";
|
||||
// helpers
|
||||
import { cn } from "../../utils";
|
||||
// components
|
||||
import { ContextMenuItem } from "./item";
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import { usePopper } from "react-popper";
|
|||
// plane helpers
|
||||
import { useOutsideClickDetector } from "@plane/hooks";
|
||||
// helpers
|
||||
import { cn } from "../../helpers";
|
||||
import { cn } from "../utils";
|
||||
// hooks
|
||||
import { useDropdownKeyDown } from "../hooks/use-dropdown-key-down";
|
||||
// types
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import { usePopper } from "react-popper";
|
|||
// plane imports
|
||||
import { useOutsideClickDetector } from "@plane/hooks";
|
||||
// local imports
|
||||
import { cn } from "../../helpers";
|
||||
import { cn } from "../utils";
|
||||
import { useDropdownKeyDown } from "../hooks/use-dropdown-key-down";
|
||||
import { Tooltip } from "../tooltip";
|
||||
import { ICustomSearchSelectProps } from "./helper";
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ import { useOutsideClickDetector } from "@plane/hooks";
|
|||
// hooks
|
||||
import { useDropdownKeyDown } from "../hooks/use-dropdown-key-down";
|
||||
// helpers
|
||||
import { cn } from "../../helpers";
|
||||
import { cn } from "../utils";
|
||||
// types
|
||||
import { ICustomSelectItemProps, ICustomSelectProps } from "./helper";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue