Properly pass "retryKeyPrefix" to "SpinnerImage"
This commit is contained in:
@@ -56,7 +56,6 @@ export const ReaderPage = forwardRef(
|
|||||||
position,
|
position,
|
||||||
marginTop,
|
marginTop,
|
||||||
shouldLoad,
|
shouldLoad,
|
||||||
retryKeyPrefix,
|
|
||||||
...props
|
...props
|
||||||
}: Omit<ComponentProps<typeof SpinnerImage>, 'ref' | 'spinnerStyle' | 'imgStyle'> & {
|
}: Omit<ComponentProps<typeof SpinnerImage>, 'ref' | 'spinnerStyle' | 'imgStyle'> & {
|
||||||
display: boolean;
|
display: boolean;
|
||||||
@@ -77,7 +76,6 @@ export const ReaderPage = forwardRef(
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<SpinnerImage
|
<SpinnerImage
|
||||||
key={retryKeyPrefix}
|
|
||||||
{...props}
|
{...props}
|
||||||
shouldLoad={shouldLoad}
|
shouldLoad={shouldLoad}
|
||||||
shouldDecode
|
shouldDecode
|
||||||
|
|||||||
Reference in New Issue
Block a user