Skip to content

Commit

Permalink
fix: fix eslint issues (#851)
Browse files Browse the repository at this point in the history
* fix: fix eslint issues

* eslint change

* chore: lint changes

* review changes

* review changes
  • Loading branch information
Hemanthghs authored Nov 2, 2023
1 parent cc29b03 commit e5e363f
Show file tree
Hide file tree
Showing 61 changed files with 1,411 additions and 2,504 deletions.
11 changes: 5 additions & 6 deletions frontend/.prettierrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"semi": false,
"trailingComma": "es5",
"singleQuote": true,
"tabWidth": 2,
"useTabs": false
}
"trailingComma": "es5",
"singleQuote": true,
"tabWidth": 2,
"useTabs": false
}
2 changes: 2 additions & 0 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"@emotion/react": "^11.11.1",
"@emotion/server": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@keplr-wallet/types": "^0.12.39",
"@mui/icons-material": "^5.14.11",
"@mui/material": "^5.14.10",
"@reduxjs/toolkit": "^1.9.7",
Expand All @@ -21,6 +22,7 @@
"@types/react-dom": "18.2.7",
"autoprefixer": "10.4.16",
"axios": "^1.5.1",
"cosmjs-types": "^0.9.0",
"eslint": "8.50.0",
"eslint-config-next": "13.5.2",
"next": "14.0.1",
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
2 changes: 1 addition & 1 deletion frontend/src/app/(routes)/authz/page.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from "react";
import React from 'react';

const page = () => {
return <div className="page">authz</div>;
Expand Down
93 changes: 0 additions & 93 deletions frontend/src/app/(routes)/feegrant/Feegrant.tsx

This file was deleted.

9 changes: 2 additions & 7 deletions frontend/src/app/(routes)/feegrant/page.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
import React from "react";
import Feegrant from "./Feegrant";
import React from 'react';

const page = () => {
return (
<div className="page">
<Feegrant />
</div>
);
return <div className="page">Feegrant</div>;
};

export default page;
12 changes: 4 additions & 8 deletions frontend/src/app/(routes)/governance/page.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
import React from 'react'
import React from 'react';

const page = () => {
return (
<div className='page'>
governance
</div>
)
}
return <div className="page">governance</div>;
};

export default page
export default page;
10 changes: 2 additions & 8 deletions frontend/src/app/(routes)/groups/page.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
import React from "react";
import Groups from "../../../components/tabs/Groups";
import React from 'react';

const page = () => {
return (
<div className="page space-y-10">
<Groups />

</div>
);
return <div className="page space-y-10">Groups</div>;
};

export default page;
50 changes: 0 additions & 50 deletions frontend/src/app/(routes)/multisig/AllMultisigAccount.tsx

This file was deleted.

19 changes: 0 additions & 19 deletions frontend/src/app/(routes)/multisig/Multisig.tsx

This file was deleted.

16 changes: 4 additions & 12 deletions frontend/src/app/(routes)/multisig/page.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@
import React from 'react'
import AllMultisigAccount from './AllMultisigAccount'
// import Groups from "../../../components/tabs/";
import Multisig from 'staking/components/tabs/Multisg'

import React from 'react';

const page = () => {
return (
<div className='page'>
<Multisig />
</div>
)
}
return <div className="page">Multisig</div>;
};

export default page
export default page;
53 changes: 0 additions & 53 deletions frontend/src/app/(routes)/multisig/style.css

This file was deleted.

11 changes: 0 additions & 11 deletions frontend/src/app/(routes)/staking/[...networks].js

This file was deleted.

18 changes: 2 additions & 16 deletions frontend/src/app/(routes)/staking/page.tsx
Original file line number Diff line number Diff line change
@@ -1,20 +1,6 @@
import React from "react";
import StakingCards from "../../../components/StakingCards";
import StakedAmount from "../../../components/StakedAmount";
import StakedAmountWithActions from "../../../components/StakedAmountWithActions";
import ValidatorsTable from "../../../components/ValidatorsTable";

import React from 'react';
const page = () => {
return (
<div className="page space-y-10">
<StakedAmountWithActions />
<div className="topNav__title">
<h2>My Delegation</h2>
</div>
<StakingCards />
<ValidatorsTable />
</div>
);
return <div>Staking</div>;
};

export default page;
2 changes: 1 addition & 1 deletion frontend/src/app/(routes)/transfers/page.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from "react";
import React from 'react';

const page = () => {
return <div className="page">transfers</div>;
Expand Down
18 changes: 9 additions & 9 deletions frontend/src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import "./globals.css";
import type { Metadata } from "next";
import { Inter } from "next/font/google";
import PermanentSideBar from "../components/PermanentSidebar";
import { ConnectWalletButton } from "../components/ConnectWalletButton";
import { StoreProvider } from "staking/store/StoreProvider";
import './globals.css';
import type { Metadata } from 'next';
import { Inter } from 'next/font/google';
import PermanentSideBar from '../components/PermanentSidebar';
import { ConnectWalletButton } from '../components/ConnectWalletButton';
import { StoreProvider } from 'staking/store/StoreProvider';

const inter = Inter({ subsets: ["latin"] });
const inter = Inter({ subsets: ['latin'] });

export const metadata: Metadata = {
title: "Resolute",
description: "resolute",
title: 'Resolute',
description: 'resolute',
};

export default function RootLayout({
Expand Down
Loading

0 comments on commit e5e363f

Please sign in to comment.