change styles

This commit is contained in:
smanylov
2026-04-06 13:37:56 +07:00
parent b377c11c41
commit f688aa210f
4 changed files with 18 additions and 20 deletions
+1 -1
View File
@@ -113,7 +113,7 @@ export default function NotificationsButton() {
{notificationList?.unreadCount ? notificationList?.unreadCount : t('no-new')} / {t('all')}
</Link>
</div>
{notificationList?.notifications.length !== 0 ? (
{notificationList?.notifications?.length !== 0 ? (
<>
<div
className="notification-list"
+3 -3
View File
@@ -30,7 +30,7 @@ export default function PaymentUserCards() {
if (response) {
await queryClient.invalidateQueries({ queryKey: ['paymentsMethods'] });
toast.success('bank-card-has-been-successfully-deleted');
toast.success(t('bank-card-has-been-successfully-deleted'));
} else {
throw 'error'
}
@@ -55,7 +55,7 @@ export default function PaymentUserCards() {
className="card-item-confirm-action"
>
<button
className="btn btn-secondary"
className="btn btn-primary"
onClick={() => {
setSelectedCard(null);
setOpenWindow(false);
@@ -75,7 +75,7 @@ export default function PaymentUserCards() {
)}
</button>
<button
className="btn btn-secondary"
className="btn btn-primary"
onClick={() => {
if (selectedCard?.paymentMethodId) {
removeCardHandler(selectedCard?.paymentMethodId)