Browse Source

fix ValidatorReport import

Joystream Stats 3 năm trước cách đây
mục cha
commit
318d9297ff

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

@@ -18,12 +18,10 @@ import {
   Transactions,
   Bounties,
   Burners,
+  ValidatorReport,
 } from "..";
 
-import ValidatorReport from "../Validators/ValidatorReport";
-
 import { IState } from "../../types";
-import ValidatorReport from "../ValidatorReport/ValidatorReport";
 
 interface IProps extends IState {
   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 Burners } from "./Burners";
 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 TableFromObject } from "./TableFromObject";