2426 timebox refactor board with the new scope architecture (#2789)
* scoped states: wip * scoped states: wip * wip * wip * create boardFiltersScopedState and boardSortsScopedState * wip * reorganize hooks * update hooks * wip * wip * fix options dropdown * clean unused selectors * fields are working * fix filter an sort * fix entity count * rename hooks * rename states * clean unused context * fix recoil scope bug * objectNameSingular instead of objectNamePlural
This commit is contained in:
@ -1,8 +1,13 @@
|
||||
import { CompanyBoardCard } from '@/companies/components/CompanyBoardCard';
|
||||
import { NewOpportunityButton } from '@/companies/components/NewOpportunityButton';
|
||||
import { BoardOptions } from '@/ui/object/record-board/types/BoardOptions';
|
||||
import { RecoilScope } from '@/ui/utilities/recoil-scope/components/RecoilScope';
|
||||
|
||||
export const opportunitiesBoardOptions: BoardOptions = {
|
||||
newCardComponent: <NewOpportunityButton />,
|
||||
newCardComponent: (
|
||||
<RecoilScope>
|
||||
<NewOpportunityButton />
|
||||
</RecoilScope>
|
||||
),
|
||||
CardComponent: CompanyBoardCard,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user