* fix: remove unused imports and variables (part 1) Resolve oxlint no-unused-vars warnings in packages/*, apps/admin, apps/space, apps/live, and apps/web (non-core). * fix: resolve CI check failures * fix: resolve check:types failures * fix: resolve check:types and check:format failures - Use destructuring alias for activeCycleResolvedPath - Format propel tab-navigation file * fix: format propel button helper with oxfmt Reorder Tailwind classes to match oxfmt canonical ordering.
17 lines
469 B
TypeScript
17 lines
469 B
TypeScript
/**
|
|
* Copyright (c) 2023-present Plane Software, Inc. and contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
* See the LICENSE file for details.
|
|
*/
|
|
|
|
import { useMemo } from "react";
|
|
import { useTranslation } from "@plane/i18n";
|
|
import { getAnalyticsTabs } from "./tabs";
|
|
|
|
export const useAnalyticsTabs = (_workspaceSlug: string) => {
|
|
const { t } = useTranslation();
|
|
|
|
const analyticsTabs = useMemo(() => getAnalyticsTabs(t), [t]);
|
|
|
|
return analyticsTabs;
|
|
};
|