problem in fetching data from api while using react kanban package

86 Views Asked by At

while fetching data locally it works but while fetching data from the api it doesnot displays . `

       <Board
            initialBoard={content}
            renderColumnHeader={({ name, badge }) => (
              <RenderCardTitle name={name} badge={badge} />
            )}
            renderCard={(data, { dragging }) => (
              <CardTaskBox data={data} dragging={dragging} content={content}  >
                {data}
              </CardTaskBox>
            )}
            onNewCardConfirm={draftCard => ({
              id: new Date().getTime(),
              ...draftCard,
            })}
            onCardDragEnd = {onCardMove}
          />

` tried many times but i am not getting the point why this issue is arising??

this completely works when passing local data but not works white passing the data coming from api

0

There are 0 best solutions below