Skip to content

"Load more" never get displayed #8

Description

@0xMikado

display={data.length > size ? 'flex' : 'none'}

data is an array of array so you need to access the first item of data to actually get the size of the comment list. Something like:

display={data && data[data.length - 1]?.length > size ? 'flex' : 'none'}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions