Browse Source

Widget -> NetStatusWidget

visuddhinanda 2 years ago
parent
commit
1758324f38
1 changed files with 2 additions and 2 deletions
  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;