Parcourir la source

Widget -> NetStatusWidget

visuddhinanda il y a 2 ans
Parent
commit
1758324f38
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      dashboard/src/components/general/NetStatus.tsx

+ 2 - 2
dashboard/src/components/general/NetStatus.tsx

@@ -9,7 +9,7 @@ export type ENetStatus = "loading" | "success" | "fail";
 interface IWidget {
 interface IWidget {
   style?: React.CSSProperties;
   style?: React.CSSProperties;
 }
 }
-const Widget = ({ style }: IWidget) => {
+const NetStatusWidget = ({ style }: IWidget) => {
   const [loading, setLoading] = useState(false);
   const [loading, setLoading] = useState(false);
   const [label, setLabel] = useState("online");
   const [label, setLabel] = useState("online");
 
 
@@ -48,4 +48,4 @@ const Widget = ({ style }: IWidget) => {
   );
   );
 };
 };
 
 
-export default Widget;
+export default NetStatusWidget;