mirror of
https://github.com/Buriburizaem0n/nezha-dash-v1.git
synced 2026-09-20 02:00:15 +00:00
refactor: remove @numeric-text/react dependency and implement NumericText component
This commit is contained in:
@@ -2,12 +2,12 @@ import {
|
||||
ArrowDownCircleIcon,
|
||||
ArrowUpCircleIcon,
|
||||
} from "@heroicons/react/20/solid";
|
||||
import NumericText from "@numeric-text/react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { Card, CardContent } from "@/components/ui/card";
|
||||
import { useStatus } from "@/hooks/use-status";
|
||||
import { formatBytes } from "@/lib/format";
|
||||
import { cn } from "@/lib/utils";
|
||||
import NumericText from "./NumericText";
|
||||
|
||||
type ServerOverviewProps = {
|
||||
online: number;
|
||||
|
||||
Reference in New Issue
Block a user