payments history table connected to backend

This commit is contained in:
nabijonovdavronbek619@gmail.com
2026-04-07 12:46:37 +05:00
parent 88f22a342a
commit df485b5797
4 changed files with 183 additions and 103 deletions

View File

@@ -13,7 +13,9 @@ import { PaymentModal } from '@/features/modals/paymentModal/ui/Paymentmodal';
// ─── State badge ───────────────────────────────────────────────────────────────
const StateBadge: React.FC<{ state: 'paid' | 'unpaid' }> = ({ state }) => {
export const StateBadge: React.FC<{ state: 'paid' | 'unpaid' }> = ({
state,
}) => {
const isPaid = state === 'paid';
return (
<span