Skip to content

Commit

Permalink
Delete outdated comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jennydaman authored Jan 27, 2024
1 parent 6e8f4bf commit 19084f0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/NiivueCanvas.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,6 @@ const NiivueCanvas: React.FC<NiivueCanvasProps> = ({
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,
Expand Down

0 comments on commit 19084f0

Please sign in to comment.