1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00

Merge branch 'main' of https://github.com/oceanprotocol/market into issue-1787-multichain-provider

This commit is contained in:
Jamie Hewitt 2022-12-09 14:40:16 +03:00
commit 2169e7cf1b
3 changed files with 11 additions and 2 deletions

View File

@ -39,6 +39,12 @@
The app is a React app built with [Next.js](https://nextjs.org) + TypeScript + CSS modules and will connect to Ocean remote components by default.
Prerequisites:
- [Node.js](https://nodejs.org/en/) (required). Check the [.nvmrc](.nvmrc) file to make sure you are using the correct version of Node.js.
- [nvm](https://github.com/nvm-sh/nvm) (recommended). This is the recommend way to manage Node.js versions.
- [Git](https://git-scm.com/) is required to follow the instructions below.
To start local development:
```bash

View File

@ -17,7 +17,6 @@ const getReceipts = gql`
id
nft {
address
owner
}
tx
timestamp

View File

@ -117,7 +117,11 @@ export default function Edit({
{
type: values.files[0].type,
index: 0,
url: values.files[0].url,
[values.files[0].type === 'ipfs'
? 'hash'
: values.files[0].type === 'arweave'
? 'transactionId'
: 'url']: values.files[0].url,
method: 'GET'
}
]