diff --git a/src/components/bark-battle-creation/BarkBattleConfigEditor.tsx b/src/components/bark-battle-creation/BarkBattleConfigEditor.tsx index d5904b33..e22e2b69 100644 --- a/src/components/bark-battle-creation/BarkBattleConfigEditor.tsx +++ b/src/components/bark-battle-creation/BarkBattleConfigEditor.tsx @@ -1,10 +1,11 @@ -import { ArrowLeft, Loader2, Play } from 'lucide-react'; +import { Loader2, Play } from 'lucide-react'; import { useEffect, useMemo, useState } from 'react'; import type { BarkBattleConfigEditorPayload } from '../../../packages/shared/src/contracts/barkBattle'; import type { BarkBattleDifficultyPreset } from '../../../packages/shared/src/contracts/barkBattle'; import { buildBarkBattleDefaultOnomatopoeia } from '../../games/bark-battle/application/BarkBattleConfig'; import { PlatformActionButton } from '../common/PlatformActionButton'; +import { PlatformBackActionButton } from '../common/PlatformBackActionButton'; import { PlatformFieldLabel } from '../common/PlatformFieldLabel'; import { PlatformPillBadge } from '../common/PlatformPillBadge'; import { PlatformStatusMessage } from '../common/PlatformStatusMessage'; @@ -151,16 +152,11 @@ export function BarkBattleConfigEditor({ > {showBackButton && onBack ? (
- - - 返回 - + className="px-3" + />
) : null} diff --git a/src/components/creative-agent/CreativeAgentWorkspace.tsx b/src/components/creative-agent/CreativeAgentWorkspace.tsx index 3cf7b819..0ea79e56 100644 --- a/src/components/creative-agent/CreativeAgentWorkspace.tsx +++ b/src/components/creative-agent/CreativeAgentWorkspace.tsx @@ -1,4 +1,4 @@ -import { ArrowLeft, CheckCircle2, Puzzle } from 'lucide-react'; +import { CheckCircle2, Puzzle } from 'lucide-react'; import { useEffect, useMemo, useState } from 'react'; import type { @@ -11,6 +11,7 @@ import type { PuzzleCreativeTemplateSelection, } from '../../../packages/shared/src/contracts/puzzleCreativeTemplate'; import { PlatformActionButton } from '../common/PlatformActionButton'; +import { PlatformBackActionButton } from '../common/PlatformBackActionButton'; import { PlatformEmptyState } from '../common/PlatformEmptyState'; import { PlatformIconBadge } from '../common/PlatformIconBadge'; import { PlatformMediaFrame } from '../common/PlatformMediaFrame'; @@ -149,18 +150,11 @@ export function CreativeAgentWorkspace({
{showBackButton ? ( - - - - 返回 - - + className="px-3" + /> ) : (