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