Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/components/Calculator/Calculator.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { UseBTCPrice } from "../../hook/BTC";
import useBTCPrice from "../../hooks/useBTCPrice.js";
import { useState } from "react";
import { differenceInMonths } from "date-fns";
import "./Calculator.css";
Expand All @@ -10,7 +10,7 @@ export function Calculator() {
const [walletValue, setWalletValue] = useState(0);
const [btcIntocableValue, setBtcIntocableValue] = useState(0);
const [selectedDate, setSelectedDate] = useState("");
const { price: btcPrice, loading, error } = UseBTCPrice();
const { price: btcPrice, loading, error } = useBTCPrice();

// Función para manejar el cambio en el input de la wallet
const handleWalletChange = (event) => {
Expand Down
111 changes: 0 additions & 111 deletions src/hook/BTC.jsx

This file was deleted.