-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactor: search context * chore: remove unused code and move filter fn outside component * chore: add missing dependency --------- Co-authored-by: Antonio <[email protected]>
- Loading branch information
1 parent
0ef5f7e
commit e341a2f
Showing
8 changed files
with
63 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
src/app/collective-rewards/active-builders/ActiveBuildersGrid.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,6 @@ | ||
import { HtmlHTMLAttributes } from 'react' | ||
import { BuilderState } from '../types' | ||
|
||
export * from './applyPrecision' | ||
export * from './getBuilderGauge' | ||
export * from './getBuilderState' | ||
export * from './getCoinbaseAddress' | ||
export * from './getMostAdvancedProposal' | ||
export * from './handleErrors' | ||
|
||
export const crStatusLabels: Record<BuilderState, string> = { | ||
active: 'Active', | ||
inProgress: 'In Progress', | ||
} as const | ||
|
||
export const crStatusColorClasses: Record<BuilderState, HtmlHTMLAttributes<HTMLSpanElement>['className']> = { | ||
active: 'bg-[#DBFEE5] text-secondary', | ||
inProgress: 'bg-[#4B5CF0] color-text-primary', | ||
} as const |