Sfoglia il codice sorgente

fix ValidatorReport import

Joystream Stats 3 anni fa
parent
commit
318d9297ff

+ 1 - 3
src/components/Routes/index.tsx

@@ -18,12 +18,10 @@ import {
   Transactions,
   Transactions,
   Bounties,
   Bounties,
   Burners,
   Burners,
+  ValidatorReport,
 } from "..";
 } from "..";
 
 
-import ValidatorReport from "../Validators/ValidatorReport";
-
 import { IState } from "../../types";
 import { IState } from "../../types";
-import ValidatorReport from "../ValidatorReport/ValidatorReport";
 
 
 interface IProps extends IState {
 interface IProps extends IState {
   toggleStar: (a: string) => void;
   toggleStar: (a: string) => void;

+ 0 - 0
src/components/ValidatorReport/ValidatorReport.tsx → src/components/ValidatorReport/index.tsx


+ 1 - 1
src/components/index.ts

@@ -22,7 +22,7 @@ export { default as Tokenomics } from "./Tokenomics";
 export { default as Transactions } from "./Transactions";
 export { default as Transactions } from "./Transactions";
 export { default as Burners } from "./Burners";
 export { default as Burners } from "./Burners";
 export { default as Validators } from "./Validators";
 export { default as Validators } from "./Validators";
-export { default as ValidatorReport } from "./Validators";
+export { default as ValidatorReport } from "./ValidatorReport";
 export { default as Timeline } from "./Timeline";
 export { default as Timeline } from "./Timeline";
 export { default as TableFromObject } from "./TableFromObject";
 export { default as TableFromObject } from "./TableFromObject";