README update

This commit is contained in:
Yura Dupyn 2026-05-15 16:22:10 +02:00
parent 8ea8fa6446
commit 92510ce24f

View file

@ -443,7 +443,7 @@ function OpenImageModal({ imageId }: { imageId: ImageId }) {
useEffect( useEffect(
() => { () => {
let isAlive = true let isAlive = true
// TODO: Do I need to set `Remote.loading()` here? I don't like that. // It is not currently possible to switch images when modal is open. But in case we'd want that, we'd have to also reset `cpation: Remote.loading()`
void getImageCaptionCached(imageId).then((caption) => { void getImageCaptionCached(imageId).then((caption) => {
if (isAlive) { if (isAlive) {