mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
add account import and export
This commit is contained in:
@@ -58,13 +58,13 @@ const Subscriptions = () => {
|
||||
|
||||
const errorString = useMemo(() => {
|
||||
for (const subplebbit of subplebbits) {
|
||||
if (subplebbit.updatingState !== 'failed') {
|
||||
if (subplebbit?.updatingState !== 'failed') {
|
||||
return
|
||||
}
|
||||
}
|
||||
for (const subplebbit of subplebbits) {
|
||||
if (subplebbit.error) {
|
||||
return `Failed fetching subplebbit: ${subplebbit.error.toString().slice(0, 300)}`
|
||||
if (subplebbit?.error) {
|
||||
return `Failed fetching subplebbit: ${subplebbit?.error.toString().slice(0, 300)}`
|
||||
}
|
||||
}
|
||||
}, [subplebbits])
|
||||
|
||||
Reference in New Issue
Block a user