From 19084f005a10b3867e1e6d58b8d7275249be0bac Mon Sep 17 00:00:00 2001 From: Jennings Zhang Date: Sat, 27 Jan 2024 00:43:44 -0500 Subject: [PATCH] Delete outdated comment --- src/NiivueCanvas.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/NiivueCanvas.tsx b/src/NiivueCanvas.tsx index 2335c75..fb02e1e 100644 --- a/src/NiivueCanvas.tsx +++ b/src/NiivueCanvas.tsx @@ -118,10 +118,6 @@ const NiivueCanvas: React.FC = ({ if (prevOptionsRef.current === options) { return false; } - /* - * watch out! I think I forgot to call diff here, which usually works fine when - * values are set to something falsy instead of being deleted from the object. - */ const nextConfig = options === undefined ? {} : options; const diffConfig = diffPrimitive( prevOptionsRef.current,