Skip to content

Commit 0b64880

Browse files
Fix build (#429)
1 parent fbdd476 commit 0b64880

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@multiversx/mx-template-dapp",
33
"description": "MultiversX Dapp Template",
4-
"version": "3.0.0",
4+
"version": "3.0.1",
55
"author": "MultiversX",
66
"license": "GPL-3.0-or-later",
77
"repository": "@multiversx/mx-template-dapp",

src/pages/Dashboard/widgets/PingPongService/PingPongService.tsx

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,13 @@ import {
44
} from 'components/PingPongComponent';
55
import { useSendPingPongTransaction } from 'hooks';
66
import { useGetLoginInfo } from 'lib';
7-
import {
8-
useGetPingTransaction,
9-
useGetPongTransaction,
10-
useGetTimeToPong
11-
} from './helpers';
7+
import { useGetTimeToPong } from '../PingPongAbi/hooks';
8+
import { getPingTransaction } from './helpers/getPingTransaction';
9+
import { getPongTransaction } from './helpers/getPongTransaction';
1210

1311
// The transactions are being done by directly requesting to template-dapp service
1412
export const PingPongService = () => {
1513
const getTimeToPong = useGetTimeToPong();
16-
const getPingTransaction = useGetPingTransaction();
17-
const getPongTransaction = useGetPongTransaction();
1814

1915
const { tokenLogin } = useGetLoginInfo();
2016
const { sendPingTransactionFromService, sendPongTransactionFromService } =

0 commit comments

Comments
 (0)