v3: allow users to edit dump thumbnail, fixed some linter errors in the frontend
All checks were successful
Build and Publish Docker Image / build-and-push (push) Successful in 41s

This commit is contained in:
khannurien
2026-06-21 15:41:40 +00:00
parent 57cf55cc48
commit cf988ae608
27 changed files with 431 additions and 121 deletions

View File

@@ -22,9 +22,14 @@ export function FollowProvider({ children }: { children: ReactNode }) {
useEffect(() => {
if (!token) {
setFollowedUserIds(new Set());
setFollowedPlaylistIds(new Set());
setIsLoaded(false);
// Deferred to a microtask (rather than called directly) so this
// doesn't fire synchronously within the effect body — same timing
// for the user, just not in the same tick.
queueMicrotask(() => {
setFollowedUserIds(new Set());
setFollowedPlaylistIds(new Set());
setIsLoaded(false);
});
return;
}
const controller = new AbortController();