Skip to content

Commit

Permalink
provide classes manually
Browse files Browse the repository at this point in the history
  • Loading branch information
okdas committed Jul 19, 2023
1 parent b7ad9cc commit 4145bce
Show file tree
Hide file tree
Showing 6 changed files with 7,174 additions and 6 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"superjson": "^1.7.4",
"tailwind-variants": "^0.1.13",
"tailwindcss": "^3.3.3",
"zod": "^3.0.0"
},
Expand Down
3 changes: 3 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/components/ValidatorTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ BigInt.prototype.toJSON = function (): string {
return this.toString();
};

export const ValidatorTable = ({ ...cardProps }) => {
export const ValidatorTable = () => {
const latestBHeight = useAtomValue(latestBlockHeight);
const [currentActor, setCurrentActor] = useState<ActorTypesEnum>(
ActorTypesEnum.VALIDATOR,
Expand Down
2 changes: 1 addition & 1 deletion src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const IndexPage: NextPageWithLayout = () => {
<NetworkInfoCard />
</div>
<div className={' mt-5'}>
<ValidatorTable height={height} />
<ValidatorTable />
</div>
</>
);
Expand Down
5 changes: 1 addition & 4 deletions src/styles/globals.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
/*@tailwind base;*/
/*@tailwind components;*/
/*@tailwind utilities;*/

@import 'tailwindcss/base';
@import 'tailwindcss/components';
@import 'tailwindcss/utilities';
@import 'tailwind-workaround.css';
Loading

0 comments on commit 4145bce

Please sign in to comment.