Skip to content

Commit

Permalink
fix: styles, unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
TomatoVan committed Mar 24, 2024
1 parent a30b93c commit a41916d
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 10 deletions.

This file was deleted.

3 changes: 1 addition & 2 deletions src/pages/ArticlesPage/ui/ArticlesPage/ArticlesPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import { ArticlesPageFilters } from '../../ui/ArticlesPageFilters/ArticlesPageFi
import { fetchNextArticlePage } from '../../model/services/fetchNextArticlePage/fetchNextArticlePage';
import { initArticlesPage } from '../../model/services/initArticlesPage/initArticlesPage';
import { articlesPageReducer } from '../../model/slices/articlesPageSlice';
import cls from './ArticlesPage.module.scss';
import { Page } from '@/widgets/Page';

interface ArticlesPageProps {
Expand Down Expand Up @@ -40,7 +39,7 @@ const ArticlesPage = ({ className }: ArticlesPageProps) => {
<DynamicModuleLoader reducers={reducers} removeAfterUnmount={false}>
<Page
onScrollEnd={onLoadNextPart}
className={classNames(cls.ArticlesPage, {}, [className])}
className={classNames('', {}, [className])}
>
<ArticlesPageFilters />
<ArticleInfiniteList />
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/widgets/Page/ui/Page/Page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { useInitialEffect } from '@/shared/lib/hook/useInitialEffect/useInitialE
import { StateSchema } from '@/app/providers/StoreProvider';
import { useThrottle } from '@/shared/lib/hook/useThrottle/useThrottle';
import cls from './Page.module.scss';
import { TestProps } from '@/shared/types/test';
import { TestProps } from '@/shared/types/testProps';

interface PageProps extends TestProps {
className?: string;
Expand Down

0 comments on commit a41916d

Please sign in to comment.