payments history table connected to backend
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user