Files
auv/.microcompact/mr5ssohd/call_6c7bc8c53fd84fdd91026167.txt
T
2026-07-05 21:29:17 +08:00

28 lines
1.1 KiB
Plaintext
Executable File

The file /home/project/src/routes/stock.$code.tsx has been updated. Made 1 replacement.
Here's the result of running `cat -n` on a snippet of the edited file:
1→import { createFileRoute } from "@tanstack/react-router";
2→import { useState, useEffect } from "react";
3→import { supabase } from "@/supabase/client";
4→import { fetchStockQuote, fetchStockHistory, type StockQuote, type KLineData } from "@/lib/stock-api";
5→import { getUserId } from "@/lib/user-id";
6→import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
7→import { Button } from "@/components/ui/button";
8→import { ArrowLeft, TrendingUp, TrendingDown, Calendar } from "lucide-react";
9→import { Link } from "@tanstack/react-router";
10→import {
11→ ComposedChart,
12→ Line,
13→ XAxis,
14→ YAxis,
15→ CartesianGrid,
16→ Tooltip,
17→ ResponsiveContainer,
18→ Bar,
19→ Scatter,
20→} from "recharts";
21→
22→export const Route = createFileRoute("/stock/$code")({
23→ component: StockDetail,
24→ validateSearch: (search: Record<string, unknown>) => {
25→ return {