@sensiblestats/widget-react 0.33.0 → 0.33.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -750,6 +750,9 @@ function useLiveDashboardPoll({ messages, dispatch, getLiveDashboard }) {
750
750
  } else {
751
751
  dispatch({ kind: "LIVE_REFRESH", messageId: current.messageId, cards: payload.cards, greeting: payload.greeting });
752
752
  }
753
+ } else if (payload?.phase === "postMatch" && current.kind === "live") {
754
+ dispatch({ kind: "LIVE_TRANSITION", messageId: current.messageId, dashboard: payload });
755
+ window.clearInterval(id);
753
756
  } else {
754
757
  if (current.kind === "live") {
755
758
  window.clearInterval(id);