(refactor) removed "reference" from revolute URL

This commit is contained in:
2025-11-24 15:53:01 +01:00
parent 7c8497ccfe
commit bd283ce6db

View File

@@ -152,7 +152,7 @@ export const ViewLocationCard:FC<ViewLocationCardProps> = ({location, userSettin
<p className="ml-1">
To pay via Revolut, please click the following link:{' '}
<Link
href={`https://revolut.me/${userSettings.ownerRevolutProfileName?.replace('@', '')}?amount=${(monthlyExpense / 100).toFixed(2)}&currency=${userSettings.currency}&reference=${encodeURIComponent(`Režije za ${locationName} ${formatYearMonth(yearMonth)}`)}`}
href={`https://revolut.me/${userSettings.ownerRevolutProfileName?.replace('@', '')}?amount=${(monthlyExpense / 100).toFixed(2)}&currency=${userSettings.currency}}`}
target="_blank"
className="text-blue-600 underline"
>