Skip to content

Commit

Permalink
๐Ÿ›: ์ฟผ๋ฆฌํ‚ค ์ˆ˜์ •
Browse files Browse the repository at this point in the history
  • Loading branch information
seongyun4359 committed Jan 9, 2025
1 parent 0bbe613 commit 8d3c0d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/summary-data/hook/useTodaySMPData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { fetchTodaySMPData } from "../api/fetchTodaySMPData"

export const useTodaySMPData = () => {
return useQuery({
queryKey: [QUERY_KEYS.TodaySMPData], // ๊ณ ์œ ํ•œ ํ‚ค
queryKey: [QUERY_KEYS.TODAY_SMP], // ๊ณ ์œ ํ•œ ํ‚ค
queryFn: fetchTodaySMPData, // ๋ฐ์ดํ„ฐ๋ฅผ ๊ฐ€์ ธ์˜ค๋Š” ํ•จ์ˆ˜
staleTime: 1000 * 60 * 5, // 5๋ถ„ ๋™์•ˆ ์บ์‹œ ์œ ์ง€
retry: 3, // ์‹คํŒจ ์‹œ ์žฌ์‹œ๋„
Expand Down

0 comments on commit 8d3c0d1

Please sign in to comment.