{error ? (
-
+
) : null}
{selectedPieceId &&
shouldDisplaySelectedState &&
@@ -2202,9 +2203,14 @@ export function PuzzleRuntimeShell({
消耗 1 泥点
{propConfirmError ? (
-
+
) : null}
diff --git a/src/components/wooden-fish-runtime/WoodenFishRuntimeShell.test.tsx b/src/components/wooden-fish-runtime/WoodenFishRuntimeShell.test.tsx
index 8c05a8cc..fd67fda7 100644
--- a/src/components/wooden-fish-runtime/WoodenFishRuntimeShell.test.tsx
+++ b/src/components/wooden-fish-runtime/WoodenFishRuntimeShell.test.tsx
@@ -195,6 +195,22 @@ test('木鱼运行态使用生成的主题返回按钮图', () => {
expect(backButton.className).toContain('w-10');
});
+test('木鱼运行态错误提示使用公共运行态 toast', () => {
+ render(
+