Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion frontend/src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import {
PortfolioChartSkeleton,
} from "../components/feedback/SkeletonLoader";
import { WalletModalTest } from "../components/features/wallet/WalletModalTest";
import { ChatInterface, type ChatMessage } from "../components/features/chat/ChatInterface";
import { ChatInterface } from "../components/features/chat/ChatInterface";
import { goalData, initialMessages } from "../config/mockData";
import toast from 'react-hot-toast';
import { GoalTracker } from "../components/features/portfolio/GoalTracker";
Expand All @@ -42,6 +42,7 @@ import { Network, Cpu, ShieldCheck, Zap } from "lucide-react";

import { motion, useReducedMotion } from "framer-motion";
import { makeContainerVariants, makeEntranceVariants } from "../lib/motion";
import type { ChatMessage } from "../types/domain";

export default function Home() {
const prefersReduced = useReducedMotion();
Expand Down
3 changes: 1 addition & 2 deletions frontend/src/components/features/chat/ChatInterface.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ import React, { useEffect, useMemo, useRef, useState } from "react";
import { AlertCircle, Bot, CheckCircle2, Send } from "lucide-react";
import { motion, AnimatePresence, useReducedMotion } from "framer-motion";

export type { ChatMessage } from '../../../types/domain';
import type { ChatMessage } from '../../../types/domain';
import type { ChatMessage } from "../../../types/domain";

export interface ChatInterfaceProps {
messages: ChatMessage[];
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/config/mockData.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { ChatMessage } from '../components/features/chat/ChatInterface';
import type { ChatMessage } from '../types/domain';
import type { AssetAllocation } from '../utils/chartUtils';
import type { GoalData } from '../utils/goalProjection';

Expand Down