Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
hoangsvit committed Aug 26, 2023
1 parent 43f8192 commit e2d6608
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
"use client"; // Đây là một thành phần client
"use client";

import React, { useEffect, useState } from "react";
import { Grid, Col, Card, Text, Metric, Title, AreaChart, Tracker } from "@tremor/react";
import { Spinner } from 'flowbite-react';
import dayjs from "dayjs"; // Import thư viện dayjs
import { Card, Title, AreaChart, Tracker, } from "@tremor/react";
import dayjs from "dayjs";
import { SkeletonCard } from "@/components/skeleton";

type ResponseTime = {
Expand Down Expand Up @@ -68,8 +67,8 @@ const Home = () => {
};

return (
<Card>
<Title>ePlus.DEV - Performance metrics</Title>
<Card className="max-w-xl mx-auto" decoration="top" decorationColor="indigo">
<Title>ePlus.DEV - Performance metrics </Title>
{loading1 || loading2 ? (
<SkeletonCard/>
) : error1 || error2 ? (
Expand Down

0 comments on commit e2d6608

Please sign in to comment.