Skip to content

Commit

Permalink
restore SortButton
Browse files Browse the repository at this point in the history
  • Loading branch information
JP Angelle committed Oct 25, 2023
1 parent 2f0617c commit 2a7ab23
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { Tooltip } from '@centrifuge/fabric'
import * as React from 'react'
import { useHistory, useLocation } from 'react-router-dom'
import { FilterButton } from './FilterButton'
import { SEARCH_KEYS } from './PoolFilter/config'
import { SortChevrons } from './SortChevrons'
import { FilterButton } from '../FilterButton'
import { SortChevrons } from '../SortChevrons'
import { SEARCH_KEYS } from './config'

export type SortButtonProps = {
label: string
Expand Down
2 changes: 1 addition & 1 deletion centrifuge-app/src/components/PoolFilter/config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { SortButtonProps } from '../SortButton'
import { FilterMenuProps } from './FilterMenu'
import { SortButtonProps } from './SortButton'

export const SEARCH_KEYS = {
SORT_BY: 'sort-by',
Expand Down
2 changes: 1 addition & 1 deletion centrifuge-app/src/components/PoolFilter/index.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { Grid, Text } from '@centrifuge/fabric'
import * as React from 'react'
import { COLUMNS, COLUMN_GAPS, PoolCardProps } from '../PoolCard'
import { SortButton } from '../SortButton'
import { poolFilterConfig } from './config'
import { FilterMenu } from './FilterMenu'
import { SortButton } from './SortButton'

type PoolFilterProps = {
pools?: PoolCardProps[]
Expand Down

0 comments on commit 2a7ab23

Please sign in to comment.