From 491e14dcbca477f83970a481a6214420995dd64e Mon Sep 17 00:00:00 2001 From: Itay Maman <94941+imaman@users.noreply.github.com> Date: Tue, 21 May 2024 16:46:14 +0300 Subject: [PATCH] Update index.md --- 03-client/index.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/03-client/index.md b/03-client/index.md index e6bd16a..03c1814 100644 --- a/03-client/index.md +++ b/03-client/index.md @@ -209,7 +209,8 @@ import { useEffect, useState } from 'react'; import Counter from '../contracts/counter'; import { useTonClient } from './useTonClient'; import { useAsyncInitialize } from './useAsyncInitialize'; -import { Address, OpenedContract } from '@ton/core'; +import { OpenedContract } from '@ton/core'; +import { Address } from '@ton/ton'; export function useCounterContract() { const client = useTonClient(); @@ -327,7 +328,8 @@ import Counter from '../contracts/counter'; import { useTonClient } from './useTonClient'; import { useAsyncInitialize } from './useAsyncInitialize'; import { useTonConnect } from './useTonConnect'; -import { Address, OpenedContract } from '@ton/core'; +import { OpenedContract } from '@ton/core'; +import { Address } from '@ton/ton'; export function useCounterContract() { const client = useTonClient();