diff --git a/components/home-screen.tsx b/components/home-screen.tsx index 9160420..56822ad 100644 --- a/components/home-screen.tsx +++ b/components/home-screen.tsx @@ -1,7 +1,6 @@ "use client"; import { useInfiniteQuery, useQuery } from "@tanstack/react-query"; -import { CloudOff, RefreshCw } from "lucide-react"; import { useEffect, useRef, useState } from "react"; import { AppHeader } from "@/components/app-header"; import { EmptyState } from "@/components/empty-state"; @@ -79,8 +78,7 @@ export function HomeScreen() { onLocationClick={() => setNeedsManualInput(true)} onRefresh={() => void refreshWeather()} /> - {hasWeatherData && hasWeatherError && } - {showLocationError ? : showFullWeatherError ? : <> + {showLocationError ? : showFullWeatherError ?

서버 오류입니다

관리자에게 문의해 주세요

: <> {summary.data ? : isInitialWeatherLoading || (!summary.isError && summary.isPending) @@ -101,15 +99,3 @@ export function HomeScreen() { ); } - -function ConnectionNotice({ onRetry, isRetrying }: { onRetry: () => void; isRetrying: boolean }) { - return ( -
- -

서버 연결이 원활하지 않아 최근 데이터를 표시하고 있어요.

- -
- ); -} diff --git a/package-lock.json b/package-lock.json index c63bfdd..f5f27ea 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "nalssilog-web", - "version": "0.1.12", + "version": "0.1.13", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "nalssilog-web", - "version": "0.1.12", + "version": "0.1.13", "dependencies": { "@hookform/resolvers": "latest", "@sentry/nextjs": "^10.67.0", diff --git a/package.json b/package.json index 14d981d..739be8d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nalssilog-web", - "version": "0.1.12", + "version": "0.1.13", "private": true, "scripts": { "config:init": "git -c submodule.env-config.update=checkout submodule update --init --checkout env-config && git -C env-config switch main && git -C env-config pull --ff-only origin main && npm run config:sync",