Reset background color on media modal (#36782)

This commit is contained in:
Echo authored and GitHub committed 2025-11-07 10:44:31 +00:00
1 parent 8fb06ea0ca
commit 882afd7748
1 file changed
+3
@@ -116,6 +116,9 @@ export const MediaModal: FC<MediaModalProps> = forwardRef<
onChangeBackgroundColor(backgroundColor);
}
}
return () => {
onChangeBackgroundColor(null);
};
}, [currentMedia, onChangeBackgroundColor]);
const [viewportDimensions, setViewportDimensions] = useState<{