Skip to content

Commit

Permalink
fix: delete redundant import
Browse files Browse the repository at this point in the history
  • Loading branch information
sashtje committed Oct 17, 2023
1 parent a8e12b7 commit 4e24881
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ export const EditableProfileCard = memo((props: EditableProfileCardProps) => {
{!!validateErrors?.length &&
validateErrors.map((err) => (
<ToggleFeatures
key={err}
feature="isAppRedesigned"
on={
<Text
Expand Down
5 changes: 1 addition & 4 deletions src/features/scrollToTopButton/ui/ScrollToTopButton.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
import { memo } from 'react';

import { classNames } from '@/shared/lib/classNames';
import { Icon } from '@/shared/ui/redesigned/Icon';
import ScrollIcon from '@/shared/assets/icons/circle-up.svg';

import cls from './ScrollToTopButton.module.scss';

interface ScrollToTopButtonProps {
className?: string;
}
Expand All @@ -24,7 +21,7 @@ export const ScrollToTopButton = memo((props: ScrollToTopButtonProps) => {
height={32}
onClick={onClick}
clickable
className={classNames(cls.scrollToTopButton, {}, [className])}
className={className}
/>
);
});
Expand Down

0 comments on commit 4e24881

Please sign in to comment.