diff --git a/app/.eslintrc.js b/app/.eslintrc.js index 3a1b217a46..6bf5d98687 100644 --- a/app/.eslintrc.js +++ b/app/.eslintrc.js @@ -62,11 +62,6 @@ module.exports = { pattern: '@react**', group: 'builtin', }, - { - pattern: 'classnames', - group: 'builtin', - position: 'after', - }, { pattern: 'lodash-es/**', group: 'builtin', diff --git a/app/components/breadcrumb/component.tsx b/app/components/breadcrumb/component.tsx index 45240311ac..0ef3aa8bc0 100644 --- a/app/components/breadcrumb/component.tsx +++ b/app/components/breadcrumb/component.tsx @@ -1,8 +1,7 @@ import React, { ButtonHTMLAttributes } from 'react'; -import cx from 'classnames'; - import Icon from 'components/icon'; +import { cn } from 'utils/cn'; import ARROW_LEFT_SVG from 'svgs/ui/arrow-left.svg?sprite'; import FOLDER_SVG from 'svgs/ui/folder.svg?sprite'; @@ -21,7 +20,7 @@ export const Breadcrum: React.FC = ({

= ({

= ({ })} >
= ({ {icon && (