feat(agreements): implement agreement fetching and display with error handling

feat(agreement-card): create AgreementCard component for displaying user agreements
fix(devices-table): update no devices message for clarity based on parental control
fix(payments-table): update no payments message for consistency
fix(topups-table): update no topups message for consistency
feat(user): add agreement field to User interface
This commit is contained in:
2025-07-27 19:43:01 +05:00
parent dcf58c4349
commit 171b1d4d7c
9 changed files with 9675 additions and 9811 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ export async function DevicesTable({
<div>
{data?.length === 0 ? (
<div className="h-[calc(100svh-400px)] text-muted-foreground flex flex-col items-center justify-center my-4">
<h3>No devices.</h3>
<h3>{parentalControl ? "No active devices" : "No devices."}</h3>
</div>
) : (
<>