Properly pass "retryKeyPrefix" to "SpinnerImage"

This commit is contained in:
schroda
2024-12-19 15:43:53 +01:00
parent acab34debc
commit 90934b164a

View File

@@ -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