282 on opportunities page data pipeline + companies + people is fetched from be (#285)
* feature: get pipelines columns from backend * feature: display item not found instead of crashing * feature: add BoardCard component * feature: display items from the backend * refactor: extract useBoard in a hook * refactor: export only loading and error from useBoard * refactor: create var pipelineStage * feature: implement support for Company boards
This commit is contained in:
@ -7,10 +7,10 @@ export const StyledBoard = styled.div`
|
||||
height: 100%;
|
||||
`;
|
||||
|
||||
export type BoardItemKey = `item-${number}`;
|
||||
export type BoardItemKey = `item-${number | string}`;
|
||||
export interface Item {
|
||||
id: string;
|
||||
content: string;
|
||||
content?: string;
|
||||
}
|
||||
export interface Items {
|
||||
[key: string]: Item;
|
||||
|
||||
Reference in New Issue
Block a user