mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
feat: add offline icon to board title, show alert before posting if sub appears offline
This commit is contained in:
@@ -192,6 +192,7 @@ const BoardsBox = ({ multisub, subplebbits }: { multisub: Subplebbit[]; subplebb
|
||||
const isOffline = subplebbit?.updatedAt && subplebbit.updatedAt < Date.now() / 1000 - 60 * 60;
|
||||
return isOffline;
|
||||
};
|
||||
|
||||
const multisubMetadata = useMultisubMetadata();
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user