I have dashboard in moralis
My table name is NFTTab
in this table I have 4 events’ variable
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "x",
"type": "uint256"
},
{
"indexed": true,
"internalType": "uint256",
"name": "y",
"type": "uint256"
},
{
"indexed": true,
"internalType": "uint256",
"name": "price",
"type": "uint256"
},
{
"indexed": false,
"internalType": "enum Dots.Types",
"name": "new_country",
"type": "uint8"
}
],
"name": "Transfer",
"type": "event"
}
How could I view my data in react page?
I install react-moralis in index.js
import { MoralisProvider } from ‘react-moralis’;
and
I use
import { useMoralis,useMoralisQuery } from “react-moralis”; in app.js
How could I view my datas ?