Skip to content

Commit

Permalink
Move a component used by two pages in its expected place
Browse files Browse the repository at this point in the history
  • Loading branch information
giorgiosironi committed May 15, 2024
1 parent 7672e50 commit 93d862e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/read-side/html-pages/groups-page/render-groups.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { pipe } from 'fp-ts/function';
import { supplementaryInfo } from '../../../shared-components/supplementary-info';
import { HtmlFragment, toHtmlFragment } from '../../../types/html-fragment';
import { renderListItems } from '../shared-components/list-items';
import { renderListOfCards } from '../shared-components/list-of-cards';
import { renderSupplementaryCard } from '../shared-components/supplementary-card';
import { supplementaryInfo } from '../supplementary-info';

const supplementaryItems = [
renderSupplementaryCard(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ import * as O from 'fp-ts/Option';
import * as RA from 'fp-ts/ReadonlyArray';
import { pipe } from 'fp-ts/function';
import { renderScietyFeedCard } from './render-sciety-feed-card';
import { supplementaryInfo } from '../../../../shared-components/supplementary-info';
import { HtmlFragment, toHtmlFragment } from '../../../../types/html-fragment';
import { renderListItems } from '../../shared-components/list-items';
import { renderListOfCards } from '../../shared-components/list-of-cards';
import { renderLegacyPaginationControls } from '../../shared-components/pagination';
import { renderSupplementaryCard } from '../../shared-components/supplementary-card';
import { supplementaryInfo } from '../../supplementary-info';
import { ViewModel } from '../view-model';

const supplementaryItems = [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { pipe } from 'fp-ts/function';
import { renderListItems } from '../read-side/html-pages/shared-components/list-items/render-list-items';
import { HtmlFragment, toHtmlFragment } from '../types/html-fragment';
import { renderListItems } from './shared-components/list-items/render-list-items';
import { HtmlFragment, toHtmlFragment } from '../../types/html-fragment';

type SupplementaryInfo = (items: ReadonlyArray<HtmlFragment>, modifierClass?: string) => HtmlFragment;

Expand Down

0 comments on commit 93d862e

Please sign in to comment.