mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
upgrade hooks, update state label
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@
|
|||||||
"@babel/plugin-transform-react-jsx": "7.21.0",
|
"@babel/plugin-transform-react-jsx": "7.21.0",
|
||||||
"@capacitor/android": "3.6.0",
|
"@capacitor/android": "3.6.0",
|
||||||
"@capacitor/core": "3.6.0",
|
"@capacitor/core": "3.6.0",
|
||||||
"@plebbit/plebbit-react-hooks": "https://github.com/plebbit/plebbit-react-hooks.git#5c5521672fac68ab00c83b96614445f7ccfd5b04",
|
"@plebbit/plebbit-react-hooks": "https://github.com/plebbit/plebbit-react-hooks.git#e741b0dad5bba65cf1f0896053f25cd91ed55cf1",
|
||||||
"@testing-library/dom": "9.0.1",
|
"@testing-library/dom": "9.0.1",
|
||||||
"@testing-library/jest-dom": "5.14.1",
|
"@testing-library/jest-dom": "5.14.1",
|
||||||
"@testing-library/react": "14.0.0",
|
"@testing-library/react": "14.0.0",
|
||||||
|
|||||||
@@ -6,11 +6,11 @@ const StateLabel = ({ commentIndex, className }) => {
|
|||||||
const comment = useAccountComment({commentIndex: commentIndex});
|
const comment = useAccountComment({commentIndex: commentIndex});
|
||||||
const stateString = useStateString(comment);
|
const stateString = useStateString(comment);
|
||||||
|
|
||||||
if (comment.updatedAt !== undefined) {
|
if (comment.updatedAt !== undefined || comment.index === undefined) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (comment.state === "failed") {
|
if (comment.state === "failed" || comment.state === "succeeded") {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -2704,6 +2704,53 @@
|
|||||||
uuid "9.0.0"
|
uuid "9.0.0"
|
||||||
viem "1.5.2"
|
viem "1.5.2"
|
||||||
|
|
||||||
|
"@plebbit/plebbit-js@https://github.com/plebbit/plebbit-js.git#55aa6aa8af521f5978da99b74955b423ad4f8edc":
|
||||||
|
version "0.0.3"
|
||||||
|
resolved "https://github.com/plebbit/plebbit-js.git#55aa6aa8af521f5978da99b74955b423ad4f8edc"
|
||||||
|
dependencies:
|
||||||
|
"@ensdomains/eth-ens-namehash" "2.0.15"
|
||||||
|
"@keyv/sqlite" "3.6.2"
|
||||||
|
"@plebbit/plebbit-logger" "github:plebbit/plebbit-logger#9525ca9539479918931c3b334e8d490d1c87e507"
|
||||||
|
"@types/node-fetch" "2.6.2"
|
||||||
|
"@types/proper-lockfile" "4.1.2"
|
||||||
|
"@types/uuid" "8.3.4"
|
||||||
|
assert "2.0.0"
|
||||||
|
async-wait-until "2.0.12"
|
||||||
|
buffer "6.0.3"
|
||||||
|
captcha-canvas "3.2.1"
|
||||||
|
err-code "3.0.1"
|
||||||
|
ethers "6.7.0"
|
||||||
|
file-type "16.5.4"
|
||||||
|
form-data "4.0.0"
|
||||||
|
hpagent "1.2.0"
|
||||||
|
ipfs-http-client "56.0.3"
|
||||||
|
ipfs-only-hash "4.0.0"
|
||||||
|
is-ipfs "6.0.2"
|
||||||
|
jose "4.11.0"
|
||||||
|
js-sha256 "0.9.0"
|
||||||
|
keyv "4.5.2"
|
||||||
|
knex "2.4.2"
|
||||||
|
libp2p-crypto "0.21.2"
|
||||||
|
limiter "2.1.0"
|
||||||
|
localforage "1.10.0"
|
||||||
|
lodash-es "4.17.21"
|
||||||
|
lru-cache "7.18.3"
|
||||||
|
open-graph-scraper "5.2.3"
|
||||||
|
p-limit "3.1.0"
|
||||||
|
peer-id "0.16.0"
|
||||||
|
proper-lockfile "github:plebbit/node-proper-lockfile#d8b63817f9ea3304d3e048976d72b3108ec076ff"
|
||||||
|
retry "0.13.1"
|
||||||
|
rpc-websockets "7.5.1"
|
||||||
|
safe-stable-stringify "2.4.1"
|
||||||
|
sha1-uint8array "0.10.3"
|
||||||
|
skia-canvas "1.0.0"
|
||||||
|
sqlite3 "5.1.6"
|
||||||
|
tiny-typed-emitter "2.1.0"
|
||||||
|
tinycache "1.1.2"
|
||||||
|
ts-custom-error "3.3.1"
|
||||||
|
uuid "9.0.0"
|
||||||
|
viem "1.5.2"
|
||||||
|
|
||||||
"@plebbit/plebbit-logger@github:plebbit/plebbit-logger#9525ca9539479918931c3b334e8d490d1c87e507":
|
"@plebbit/plebbit-logger@github:plebbit/plebbit-logger#9525ca9539479918931c3b334e8d490d1c87e507":
|
||||||
version "0.0.1"
|
version "0.0.1"
|
||||||
uid "9525ca9539479918931c3b334e8d490d1c87e507"
|
uid "9525ca9539479918931c3b334e8d490d1c87e507"
|
||||||
@@ -2732,6 +2779,21 @@
|
|||||||
uuid "8.3.2"
|
uuid "8.3.2"
|
||||||
zustand "4.0.0"
|
zustand "4.0.0"
|
||||||
|
|
||||||
|
"@plebbit/plebbit-react-hooks@https://github.com/plebbit/plebbit-react-hooks.git#e741b0dad5bba65cf1f0896053f25cd91ed55cf1":
|
||||||
|
version "0.0.1"
|
||||||
|
resolved "https://github.com/plebbit/plebbit-react-hooks.git#e741b0dad5bba65cf1f0896053f25cd91ed55cf1"
|
||||||
|
dependencies:
|
||||||
|
"@plebbit/plebbit-js" "https://github.com/plebbit/plebbit-js.git#55aa6aa8af521f5978da99b74955b423ad4f8edc"
|
||||||
|
"@plebbit/plebbit-logger" "https://github.com/plebbit/plebbit-logger.git"
|
||||||
|
assert "2.0.0"
|
||||||
|
ethers "5.6.9"
|
||||||
|
localforage "1.10.0"
|
||||||
|
lodash.isequal "4.5.0"
|
||||||
|
memoizee "0.4.15"
|
||||||
|
quick-lru "5.1.1"
|
||||||
|
uuid "8.3.2"
|
||||||
|
zustand "4.0.0"
|
||||||
|
|
||||||
"@pmmmwh/react-refresh-webpack-plugin@^0.5.3":
|
"@pmmmwh/react-refresh-webpack-plugin@^0.5.3":
|
||||||
version "0.5.10"
|
version "0.5.10"
|
||||||
resolved "https://registry.yarnpkg.com/@pmmmwh/react-refresh-webpack-plugin/-/react-refresh-webpack-plugin-0.5.10.tgz#2eba163b8e7dbabb4ce3609ab5e32ab63dda3ef8"
|
resolved "https://registry.yarnpkg.com/@pmmmwh/react-refresh-webpack-plugin/-/react-refresh-webpack-plugin-0.5.10.tgz#2eba163b8e7dbabb4ce3609ab5e32ab63dda3ef8"
|
||||||
|
|||||||
Reference in New Issue
Block a user