@superinterface/react 2.9.1 → 2.9.2

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
@@ -2764,7 +2764,7 @@ var useStatus = function(param) {
2764
2764
  if (createMessageProps.isPending) return "creatingMessage";
2765
2765
  if (messageAudioProps.paused || !messageAudioProps.isAudioPlayed) return "playerPaused";
2766
2766
  if (messageAudioProps.playing || messageAudioProps.isPending) return "playing";
2767
- if (!messageAudioProps.isReady) return "loading";
2767
+ if (!messageAudioProps.isAudioPlayed && !messageAudioProps.isReady) return "loading";
2768
2768
  if (((_latestMessageProps_latestMessage = latestMessageProps.latestMessage) === null || _latestMessageProps_latestMessage === void 0 ? void 0 : _latestMessageProps_latestMessage.status) === "in_progress") return "creatingMessage";
2769
2769
  if (recorderProps.status === "idle") return "idle";
2770
2770
  if (recorderProps.status === "paused") return "recorderPaused";