This commit is contained in:
qiuchenfan 2025-11-14 19:14:57 +08:00
parent 8b94b16caa
commit 7d159498ec
6 changed files with 5 additions and 5 deletions

View File

@ -2,7 +2,7 @@ import { WeatherSearchForm } from "@/components/weather/WeatherSearchForm";
import { WeatherDisplay } from "@/components/weather/WeatherDisplay";
import { WeatherDetailsGrid } from "@/components/weather/WeatherDetailsGrid";
import { useWeatherStore } from "@/store/weatherStore";
import Cloud from "../../../assets/cloud.svg";
import {Cloud} from 'lucide-react';
export function WeatherCard() {
const { currentWeather } = useWeatherStore();

View File

@ -1,6 +1,6 @@
import { Droplets,Wind,Gauge,Cloud,Eye,ThermometerSun} from "lucide-react";
import React from "react";
import { getWindDirection } from "@/components/lib/utils";
import { getWindDirection } from "@/lib/utils";
import {useWeatherStore} from "@/store/weatherStore";
interface WeatherInfoItemProps {

View File

@ -1,6 +1,6 @@
import { useWeatherStore } from "@/store/weatherStore";
import { Cloud, CloudDrizzle, CloudFog, CloudLightning, CloudMoon, CloudRain, CloudSnow, CloudSun, MapPin, Moon, Sun, ThermometerSun } from "lucide-react";
import { formatTemperature } from "../lib/utils";
import { formatTemperature } from "../../lib/utils";
interface WeatherIconProps {
description: string;

View File

@ -1,5 +1,5 @@
//天气搜索表单组件
import { cn } from "@/components/lib/utils";
import { cn } from "@/lib/utils";
import React ,{useState,type FormEvent,type ChangeEvent, use} from "react";
import { Button } from "@/components/ui/button";
import { Input} from "../ui/input";

View File

@ -79,7 +79,7 @@ importers:
specifier: ^22.19.0
version: 22.19.1
'@types/react':
specifier: ^19.1.13
specifier: ^19.2.4
version: 19.2.4
'@types/react-dom':
specifier: ^19.1.9