Apply the auto-fixable lint rules and the formatter, and drop the Vite build artifacts.
Checks / checks (push) Successful in 2m11s
Trigger cinny-mobile / dispatch (push) Successful in 1s

This commit is contained in:
litruv committed 2026-11-01 04:23:53 +11:00
1 parent 3cd159a63e
commit a6ad8651b3
605 files changed
+11480 -9125

No files matched your search

@@ -2,8 +2,7 @@ import React, { ImgHTMLAttributes, forwardRef, useEffect, useState } from 'react
import { useAuthenticatedMediaUrl } from '../../hooks/useAuthenticatedMediaUrl';
import { useMediaAuthentication } from '../../hooks/useMediaAuthentication';
export interface AuthenticatedMediaProps
extends Omit<ImgHTMLAttributes<HTMLImageElement>, 'src'> {
export interface AuthenticatedMediaProps extends Omit<ImgHTMLAttributes<HTMLImageElement>, 'src'> {
/** The source URL of the media (may be an authenticated media URL) */
src?: string;
/** Override for authentication - if not provided, uses useMediaAuthentication hook */
@@ -22,7 +21,7 @@ export const AuthenticatedMedia = forwardRef<HTMLImageElement, AuthenticatedMedi
const authenticatedSrc = useAuthenticatedMediaUrl(src, useAuthentication);
return <img ref={ref} {...props} src={authenticatedSrc} />;
}
},
);
AuthenticatedMedia.displayName = 'AuthenticatedMedia';
@@ -39,7 +38,7 @@ export const AuthenticatedImg = forwardRef<HTMLImageElement, AuthenticatedImgPro
const authenticatedSrc = useAuthenticatedMediaUrl(src, useAuthentication);
return <img ref={ref} {...props} src={authenticatedSrc} />;
}
},
);
AuthenticatedImg.displayName = 'AuthenticatedImg';