()
| 3 | export const revalidate = 43200; // 12 hours in seconds |
| 4 | |
| 5 | export default async function VisualizationsCount() { |
| 6 | const count = await redis.get("generations"); |
| 7 | |
| 8 | return ( |
| 9 | <div className="font-normal text-sm text-neutral-300 px-4 py-2 rounded-full border border-blue-500/30 bg-gradient-to-b from-blue-400/10 to-blue-900/10 inline-block"> |
| 10 | <strong>{count}</strong> visualizations generated and counting |
| 11 | </div> |
| 12 | ); |
| 13 | } |
nothing calls this directly
no outgoing calls
no test coverage detected