Skip to content

Commit edafa88

Browse files
committed
cleanup
1 parent f86210d commit edafa88

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
## Usage
66

7-
1. Start [ganache](https://trufflesuite.com/ganache/) instance by running `npm start`
7+
1. Start [ganache](https://trufflesuite.com/ganache/) instance by running `npm start` in [ganache](./packages/ganache) folder
88
2. Deploy [TestERC20.sol](./packages/client/src/contract/TestERC20.sol), [PaymentGatewayContract.sol](./packages/client/src/contract/PaymentGatewayContract.sol) by using [Remix IDE](https://remix-project.org/)
99
3. Mint some tokens in `TestERC20` by calling `mint` method. The UI is using `18 digits` representation of token decimals, so you should pass an argument like `200000000000000000000`.
1010
4. Allow withdrawal in `TestERC20` by calling `approve` method (with `PaymentGatewayContract` **deployer address**). Pass **the same amount from the step 3**

packages/client/src/components/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export const App = observer(() => {
4242
{ioc.layoutService.hasAppbarLoader && (
4343
<Box
4444
sx={{
45-
marginBottom: -4,
45+
marginBottom: '-4px',
4646
}}
4747
>
4848
<LinearProgress color="secondary" />

packages/client/src/pages/AdminPage.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import {
22
List,
33
IColumn,
44
ColumnType,
5-
FieldType,
65
useArrayPaginator,
76
Breadcrumbs,
87
} from 'react-declarative';
@@ -64,6 +63,8 @@ export const AdminPage = () => {
6463
searchHandler: (rows: IRowData[], search: string) => {
6564
return rows.filter(({ data, sender }) => (data + sender).toLowerCase().includes(search.toLowerCase()))
6665
},
66+
onLoadStart: () => ioc.layoutService.setAppbarLoader(true),
67+
onLoadEnd: () => ioc.layoutService.setAppbarLoader(false),
6768
});
6869
return (
6970
<>

0 commit comments

Comments
 (0)