"use client"; import React, { useState, useEffect, useCallback } from "react"; import DatePicker from "react-datepicker"; import "react-datepicker/dist/react-datepicker.css"; import { format, subDays, startOfMonth } from "date-fns"; import * as XLSX from "xlsx"; function LoadingSpinner({ progress }) { return (
{progress ? `Fetching ${progress.current}/${progress.total} days...` : "Fetching exchange rates..."}
No results yet
Select a bank and date range, then click Fetch Rates.
| {h} | ))}
|---|
| {cell} | ))}
Fetch exchange rates from Vietnamese banks and export to CSV.
{results.length} {results.length === 1 ? "record" : "records"} found