- Add SystemOverview component and related hooks;
- update Dashboard layout and introduce new UI components
This commit is contained in:
@@ -22,3 +22,7 @@ export const timeAgo = (timestampmili: number | null) => {
|
||||
return `${diffHours === 1 ? "1 hour" : diffHours + " hours"} ago`;
|
||||
}
|
||||
};
|
||||
|
||||
export function capitalize(s?: string) {
|
||||
return s ? s.charAt(0).toUpperCase() + s.slice(1) : "";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user