refactor: move web utils to packages (#7145)
* refactor: move web utils to packages * fix: build and lint errors * chore: update drag handle plugin * chore: update table cell type to fix build errors * fix: build errors * chore: sync few changes * fix: build errors * chore: minor fixes related to duplicate assets imports * fix: build errors * chore: minor changes
This commit is contained in:
parent
dffcc6dc10
commit
2014400bed
614 changed files with 1999 additions and 3030 deletions
|
|
@ -9,7 +9,7 @@ import { PostHogProvider as PHProvider } from "posthog-js/react";
|
|||
// constants
|
||||
import { GROUP_WORKSPACE } from "@plane/constants";
|
||||
// helpers
|
||||
import { getUserRole } from "@/helpers/user.helper";
|
||||
import { getUserRole } from "@plane/utils";
|
||||
// hooks
|
||||
import { useWorkspace, useUser, useInstance, useUserPermissions } from "@/hooks/store";
|
||||
// dynamic imports
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import { useParams } from "next/navigation";
|
|||
import { useTheme } from "next-themes";
|
||||
import { useTranslation, TLanguage } from "@plane/i18n";
|
||||
// helpers
|
||||
import { applyTheme, unsetCustomCssVariables } from "@/helpers/theme.helper";
|
||||
import { applyTheme, unsetCustomCssVariables } from "@plane/utils";
|
||||
// hooks
|
||||
import { useRouterParams, useAppTheme, useUserProfile } from "@/hooks/store";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue