File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -42,10 +42,10 @@ export default function SendMessage() {
4242 queryFn : async ( ) => {
4343 const dataProtectorCore = await getDataProtectorCoreClient ( ) ;
4444 // TODO check protectedDataList before
45- const protectedDatas = await dataProtectorCore . getProtectedData ( {
45+ const protectedDataItems = await dataProtectorCore . getProtectedData ( {
4646 protectedDataAddress : protectedDataAddress ,
4747 } ) ;
48- return protectedDatas [ 0 ] ;
48+ return protectedDataItems [ 0 ] ;
4949 } ,
5050 enabled : ! ! protectedDataAddress ,
5151 refetchOnWindowFocus : true ,
Original file line number Diff line number Diff line change @@ -57,11 +57,11 @@ export default function ProtectedData() {
5757 }
5858 const dataProtectorCore = await getDataProtectorCoreClient ( ) ;
5959 // TODO check protectedDataList before
60- const protectedDatas = await dataProtectorCore . getProtectedData ( {
60+ const protectedDataItems = await dataProtectorCore . getProtectedData ( {
6161 protectedDataAddress : protectedDataAddress ,
6262 owner : userAddress ,
6363 } ) ;
64- return protectedDatas [ 0 ] ;
64+ return protectedDataItems [ 0 ] ;
6565 } ,
6666 enabled : ! ! userAddress && ! ! protectedDataAddress ,
6767 refetchOnWindowFocus : true ,
You can’t perform that action at this time.
0 commit comments