diff --git a/js/deploy-web.sh b/js/deploy-web.sh index 5f4f477..2ca32da 100755 --- a/js/deploy-web.sh +++ b/js/deploy-web.sh @@ -4,7 +4,6 @@ yarn bootstrap echo "Preparing 'common'..." cd packages/common || exit yarn prepare -yarn build-css cd ../web || exit echo "Prestarting 'web'..." yarn prestart diff --git a/js/packages/common/package.json b/js/packages/common/package.json index ab0dc41..b4d84a9 100644 --- a/js/packages/common/package.json +++ b/js/packages/common/package.json @@ -15,7 +15,8 @@ "node": ">=10" }, "scripts": { - "build": "tsc", + "build": "run-s build-ts build-css", + "build-ts": "tsc", "build-css": "less-watch-compiler src/ dist/lib/ --run-once", "start": "npm-run-all --parallel watch watch-css watch-css-src", "watch-css": "less-watch-compiler src/ dist/lib/", diff --git a/js/packages/web/src/contexts/meta.tsx b/js/packages/web/src/contexts/meta.tsx index 875a29c..b117583 100644 --- a/js/packages/web/src/contexts/meta.tsx +++ b/js/packages/web/src/contexts/meta.tsx @@ -579,7 +579,7 @@ const processMetaplexAccounts = async ( // Could have any kind of pictures in it. if ( auctionManager.state.status !== AuctionManagerStatus.Initialized || - auctionManager.state.status === AuctionManagerStatus.Initialized) + auctionManager.state.status === AuctionManagerStatus.Initialized ) { const account: ParsedAccount = { pubkey: a.pubkey,