Skip to content

Commit 4be8cfa

Browse files
committed
fix(frontend): resolve JSX parse errors introduced by merged PRs
- Remove extra closing </div> in ChatHistorySidebar that placed the delete-confirm modal outside the return tree (PR #429) - Add missing imports for SplitViewComparison, ChatSearchPanel, useChatHistory, and useSplitView in StellarChatInterface npm run build now passes cleanly (16/16 static pages generated)
1 parent cf2955d commit 4be8cfa

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

dex_with_fiat_frontend/src/components/ChatHistorySidebar.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,6 @@ export default function ChatHistorySidebar({
525525
{!isCollapsed && 'New Conversation'}
526526
</button>
527527
</div>
528-
</div>
529528

530529
{showDeleteConfirm && (
531530
<div className="theme-overlay fixed inset-0 flex items-center justify-center z-[100] backdrop-blur-sm">

dex_with_fiat_frontend/src/components/StellarChatInterface.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ import { useTranslation } from '@/contexts/TranslationContext';
5151
import ReceiptDrawer from './ReceiptDrawerWrapper';
5252
import { useTxHistory } from '@/hooks/useTxHistory';
5353
import { subscribeToQueue, processQueue } from '@/lib/networkQueue';
54+
import SplitViewComparison from './SplitViewComparison';
55+
import ChatSearchPanel from './ChatSearchPanel';
56+
import { useChatHistory } from '@/hooks/useChatHistory';
57+
import { useSplitView } from '@/hooks/useSplitView';
5458

5559
export default function StellarChatInterface() {
5660
const { t } = useTranslation();

0 commit comments

Comments
 (0)