Skip to content

Commit

Permalink
fix: use constants
Browse files Browse the repository at this point in the history
  • Loading branch information
antomor committed Nov 19, 2024
1 parent 573c68b commit df3ecfc
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
import { BuilderStatusShown } from '@/app/collective-rewards/types'
import {
BuilderStatusActive,
BuilderStatusInProgress,
BuilderStatusShown,
} from '@/app/collective-rewards/types'
import { BuilderStatusFilter, useWhitelistContext } from '@/app/collective-rewards/whitelist'
import { useAlertContext } from '@/app/providers'
import { Input } from '@/components/Input'
Expand All @@ -14,8 +18,8 @@ type SelectOption = {
// TODO: are there other statuses to be considered?
const statuses: SelectOption[] = [
{ value: 'all', label: 'All' },
{ value: 'Active', label: 'Activated' },
{ value: 'In progress', label: 'In progress' },
{ value: BuilderStatusActive, label: 'Activated' },
{ value: BuilderStatusInProgress, label: 'In progress' },
]

export const WhitelistSearch = () => {
Expand Down

0 comments on commit df3ecfc

Please sign in to comment.