Skip to content

Commit c033a8a

Browse files
committed
Remove ScrollBottomButton from SectionMembers component
The ScrollBottomButton has been commented out in the SectionMembers component to prevent it from being rendered. This change is likely part of a temporary disablement or for testing purposes, pending further adjustments or decisions on its functionality.
1 parent cf3f7ea commit c033a8a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

frontend-next-migration/src/widgets/SectionMembers/ui/SectionMembers.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { useParams } from 'next/navigation';
22
import { FC } from 'react';
3-
import { ScrollBottomButton } from '@/features/ScrollBottom';
3+
// import { ScrollBottomButton } from '@/features/ScrollBottom';
44
import { MemberItem, useGetMembersQuery } from '@/entities/Member';
55
import { classNames } from '@/shared/lib/classNames/classNames';
66
import { Container } from '@/shared/ui/Container';
@@ -30,11 +30,11 @@ export const SectionMembers: FC<WorkersSectionProps> = ({ className = '' }) => {
3030

3131
return (
3232
<div className={classNames(cls.MembersSection, {}, [className])}>
33-
<ScrollBottomButton
34-
isDisabled={isError || isLoading}
35-
className={classNames(cls.scrollBottomButton, { [cls.disabled]: isError })}
36-
text={isError ? `${t('page-play')} 🚫` : `${t('page-play')} ▶`}
37-
/>
33+
{/*<ScrollBottomButton*/}
34+
{/* isDisabled={isError || isLoading}*/}
35+
{/* className={classNames(cls.scrollBottomButton, { [cls.disabled]: isError })}*/}
36+
{/* text={isError ? `${t('page-play')} 🚫` : `${t('page-play')} ▶`}*/}
37+
{/*/>*/}
3838
<Container className={cls.membersListContainer}>
3939
{isError && <p>Error fetching data</p>}
4040
{isLoading ? <SkeletonLoaderWithHeader sections={5} /> : null}

0 commit comments

Comments
 (0)