@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.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2891,7 +2891,7 @@ var useStatus = function(param) {
|
|
|
2891
2891
|
if (createMessageProps.isPending) return "creatingMessage";
|
|
2892
2892
|
if (messageAudioProps.paused || !messageAudioProps.isAudioPlayed) return "playerPaused";
|
|
2893
2893
|
if (messageAudioProps.playing || messageAudioProps.isPending) return "playing";
|
|
2894
|
-
if (!messageAudioProps.isReady) return "loading";
|
|
2894
|
+
if (!messageAudioProps.isAudioPlayed && !messageAudioProps.isReady) return "loading";
|
|
2895
2895
|
if (((_latestMessageProps_latestMessage = latestMessageProps.latestMessage) === null || _latestMessageProps_latestMessage === void 0 ? void 0 : _latestMessageProps_latestMessage.status) === "in_progress") return "creatingMessage";
|
|
2896
2896
|
if (recorderProps.status === "idle") return "idle";
|
|
2897
2897
|
if (recorderProps.status === "paused") return "recorderPaused";
|