(props: {
+ : ImageDimensions | null
+ >((cachedNaturalDimensions as any) || null);
+ const { width: cachedNaturalWidth, height: cachedNaturalHeight } =
+- cachedNaturalDimensions || {};
++ cachedNaturalDimensions || {};
+ const [error, setError] = useState