howtocards / frontend

Save and share your best solutions
193 stars 23 forks source link

Home page don't load cards when open direct #69

Closed sergeysova closed 5 years ago

sergeysova commented 5 years ago

Steps to reproduce:

  1. Open https://test.cards.atomix.team/
  2. Wait
  3. "Not found" text
  4. Go to join
  5. Go to home page
  6. Cards loaded

Expected:

  1. Open https://test.cards.atomix.team/
  2. Wait
  3. Cards loaded
stuneak commented 5 years ago

The selectCards function returns us an empty array.

const selectCards = (props) =>
  createStoreObject({
    cards: $registry.map((reg) => props.ids.map((id) => reg[id])),
    isLoading: cardsFetching.isLoading,
  })
Screen Shot 2019-06-27 at 3 29 17 PM
sergeysova commented 5 years ago

Hmm... No cards with these ids in the registry.