import { addCurrencyAction, deleteCurrencyAction, editCurrencyAction } from "@/app/settings/actions" import { CrudTable } from "@/components/settings/crud" import { getCurrencies } from "@/models/currencies" export default async function CurrenciesSettingsPage() { const currencies = await getCurrencies() const currenciesWithActions = currencies.map((currency) => ({ ...currency, isEditable: true, isDeletable: true, })) return (
Custom currencies would not be automatically converted but you still can have them.