code: async function loadQuote(store, quoteId) {
    const quote = await fetchQuote(quoteId)
    await store.update(state => {
      if (!state.quotes) {
        state.quotes = {}
      }
      state.quotes[quoteId] = quote
    })
    return { quoteId }
  }
docs: define an action to load quote data