visuddhinanda 3 роки тому
батько
коміт
4d772c9f83
1 змінених файлів з 1 додано та 2 видалено
  1. 1 2
      dashboard/src/components/general/TimeShow.tsx

+ 1 - 2
dashboard/src/components/general/TimeShow.tsx

@@ -1,7 +1,7 @@
 import { Space, Tooltip } from "antd";
 import { useIntl } from "react-intl";
 import { FieldTimeOutlined } from "@ant-design/icons";
-import { useEffect, useRef, useState } from "react";
+import { useEffect, useState } from "react";
 
 interface IWidgetTimeShow {
   showIcon?: boolean;
@@ -18,7 +18,6 @@ const Widget = ({
 }: IWidgetTimeShow) => {
   const intl = useIntl(); //i18n
   const [passTime, setPassTime] = useState<string>();
-  console.log("time", time);
   const updateTime = () => {
     console.log("timer", time);
     if (typeof time !== "undefined" && time !== "") {