From e72806175fbad35fbf721b0e101643e84526f31b Mon Sep 17 00:00:00 2001 From: Peyton Lee Date: Tue, 17 Dec 2024 14:04:06 -0800 Subject: [PATCH] refactor: Update comment for `hasChannelLoadedRef` --- src/aics-image-viewer/components/App/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aics-image-viewer/components/App/index.tsx b/src/aics-image-viewer/components/App/index.tsx index 5191b4ec..cc076876 100644 --- a/src/aics-image-viewer/components/App/index.tsx +++ b/src/aics-image-viewer/components/App/index.tsx @@ -186,7 +186,7 @@ const App: React.FC = (props) => { // State for image loading/reloading - // `true` when this is the initial load of an image + /** `true` when a channel's data has been loaded for the current image. */ const hasChannelLoadedRef = useRef([]); // `true` when image data has been requested, but no data has been received yet const [sendingQueryRequest, setSendingQueryRequest] = useState(false);