README update
This commit is contained in:
parent
8ea8fa6446
commit
92510ce24f
1 changed files with 1 additions and 1 deletions
|
|
@ -443,7 +443,7 @@ function OpenImageModal({ imageId }: { imageId: ImageId }) {
|
|||
useEffect(
|
||||
() => {
|
||||
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) => {
|
||||
if (isAlive) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue