Skip to content

A full-featured CRM built with React, shadcn/ui, and Supabase.

Fix dashboard wording when empty

François Zaninotto022af019bade
diff --git a/src/dashboard/HotContacts.tsx b/src/dashboard/HotContacts.tsx
index 226df8d3..ce9c15ab 100644
--- a/src/dashboard/HotContacts.tsx
+++ b/src/dashboard/HotContacts.tsx
@@ -77,6 +77,17 @@ export const HotContacts = () => {
)}
leftAvatar={contact => <Avatar record={contact} />}
dense
+ empty={
+ <Box p={2}>
+ <Typography variant="body2" gutterBottom>
+ Contacts with a "hot" status will appear here.
+ </Typography>
+ <Typography variant="body2">
+ Change the status of a contact by adding a note
+ to that contact and clicking on "show options".
+ </Typography>
+ </Box>
+ }
/>
</Card>
</Stack>
diff --git a/src/dashboard/TasksListEmpty.tsx b/src/dashboard/TasksListEmpty.tsx
index 37632706..0b26290b 100644
--- a/src/dashboard/TasksListEmpty.tsx
+++ b/src/dashboard/TasksListEmpty.tsx
@@ -17,5 +17,9 @@ export const TasksListEmpty = () => {
if (total) return null;
- return <Typography variant="body2">No results found</Typography>;
+ return (
+ <Typography variant="body2">
+ Tasks added to your contacts will appear here.
+ </Typography>
+ );
};