We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9bbe39 commit e9b6544Copy full SHA for e9b6544
app/login/status.action.ts
@@ -8,7 +8,7 @@ export async function getUpstreamLatency(): Promise<number> {
8
if (!response.ok) {
9
return -1;
10
}
11
-
+
12
return Date.now() - start;
13
} catch (error) {
14
console.error("Error getting upstream status:", error);
app/login/status.tsx
@@ -1,10 +1,6 @@
1
+import { Tooltip, TooltipContent, TooltipTrigger } from "@/components/ui/tooltip";
2
import { Circle } from "lucide-react";
3
import { getUpstreamLatency } from "./status.action";
-import {
4
- Tooltip,
5
- TooltipContent,
6
- TooltipTrigger,
7
-} from "@/components/ui/tooltip";
export async function UpstreamStatus() {
const latency = await getUpstreamLatency();
0 commit comments