-
Notifications
You must be signed in to change notification settings - Fork 1
improve: optimize admin dashboard statistics and user experience #24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -11,7 +11,6 @@ import { | |||||
| CheckCircle, | ||||||
| AlertCircle, | ||||||
| Clock, | ||||||
| TrendingUp, | ||||||
| Server, | ||||||
| Search | ||||||
| } from 'lucide-react' | ||||||
|
|
@@ -29,7 +28,7 @@ export const Dashboard: React.FC = () => { | |||||
| apiKey: apiKey! | ||||||
| }), | ||||||
| enabled: !!apiKey, | ||||||
| refetchInterval: 30000, // Refetch every 30 seconds | ||||||
| refetchInterval: 5000, // Refetch every 5 seconds | ||||||
|
||||||
| refetchInterval: 5000, // Refetch every 5 seconds | |
| refetchInterval: 10000, // Refetch every 10 seconds |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The 'Search' import from lucide-react appears to be unused after removing the indexed chunks card. Consider removing this unused import to keep the code clean.