Do not cache API response

This commit is contained in:
Steven 2025-05-02 15:02:47 -04:00
parent a7aae220ab
commit 464f902776
No known key found for this signature in database
GPG Key ID: 1EC151C18B307356

View File

@ -128,7 +128,8 @@ function HomeContent() {
setIsFetching(true); setIsFetching(true);
try { try {
const response = await fetch( const response = await fetch(
"https://pricing.bitcoin.block.xyz/current-price" "https://pricing.bitcoin.block.xyz/current-price",
{ cache: "no-store" }
); );
if (!response.ok) { if (!response.ok) {